WordPress.org

Make WordPress Core

Ticket #28649: 28649.2.diff

File 28649.2.diff, 829 bytes (added by kraftbj, 6 years ago)

Adds first-child to both instances of CSS rule

  • src/wp-content/themes/twentyfourteen/style.css

     
    33573357
    33583358        .full-width .site-content .has-post-thumbnail .entry-header,
    33593359        .full-width.singular .site-content .hentry.has-post-thumbnail,
    3360         .full-width.home .site-content .hentry.has-post-thumbnail {
     3360        .full-width.home .site-content .hentry.has-post-thumbnail:first-child {
    33613361                margin-top: -48px;
    33623362        }
    33633363
     
    36893689        }
    36903690
    36913691        .full-width.singular .site-content .hentry.has-post-thumbnail,
    3692         .full-width.home .site-content .hentry.has-post-thumbnail {
     3692        .full-width.home .site-content .hentry.has-post-thumbnail:first-child {
    36933693                margin-top: -72px;
    36943694        }
    36953695