Ticket #30918: 30918.diff
File 30918.diff, 884 bytes (added by , 10 years ago) |
---|
-
src/wp-content/themes/twentyfifteen/functions.php
266 266 if ( $next && has_post_thumbnail( $next->ID ) ) { 267 267 $nextthumb = wp_get_attachment_image_src( get_post_thumbnail_id( $next->ID ), 'post-thumbnail' ); 268 268 $css .= ' 269 .post-navigation .nav-next { background-image: url(' . esc_url( $nextthumb[0] ) . '); }269 .post-navigation .nav-next { background-image: url(' . esc_url( $nextthumb[0] ) . '); border-top: 0; } 270 270 .post-navigation .nav-next .post-title, .post-navigation .nav-next a:hover .post-title, .post-navigation .nav-next .meta-nav { color: #fff; } 271 271 .post-navigation .nav-next a:before { background-color: rgba(0, 0, 0, 0.4); } 272 272 ';