Ticket #269: 269.diff
File 269.diff, 1.1 KB (added by , 11 years ago) |
---|
-
functions.php
53 53 } 54 54 55 55 return apply_filters( 'cats_with_count', $before . join( $sep, $cat_links ) . $after, $post ); 56 } 57 No newline at end of file 56 } 57 58 // Add each site's slug to the body class, so that CSS rules can target specific sites. 59 add_filter( 'body_class', 'wporg_add_site_slug_to_body_class' ); 60 function wporg_add_site_slug_to_body_class( $classes ) { 61 $classes[] = 'site-' . str_replace( '/', '', parse_url( site_url(), PHP_URL_PATH ) ); 62 63 return $classes; 64 } -
style.css
211 211 margin: 10px auto -10px; 212 212 display: block; 213 213 } 214 215 /*- Summit Specific Styles ----------*/ 216 217 /* Fix alignment of images on Sponsors page by making sure the p containers grow to contain the floated images. 218 * Otherwise the paragraphs don't block across the entire page */ 219 body.site-summit.page-id-55 #content-55 p { 220 overflow: auto; 221 }