Make WordPress Core

Ticket #30918: 30918.diff

File 30918.diff, 884 bytes (added by jartes, 10 years ago)
  • src/wp-content/themes/twentyfifteen/functions.php

     
    266266        if ( $next && has_post_thumbnail( $next->ID ) ) {
    267267                $nextthumb = wp_get_attachment_image_src( get_post_thumbnail_id( $next->ID ), 'post-thumbnail' );
    268268                $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; }
    270270                        .post-navigation .nav-next .post-title, .post-navigation .nav-next a:hover .post-title, .post-navigation .nav-next .meta-nav { color: #fff; }
    271271                        .post-navigation .nav-next a:before { background-color: rgba(0, 0, 0, 0.4); }
    272272                ';