• Two pages, one the home page and another, both use the default page template one gets the class ‘grid’ the other the class ‘singular’.

    The one with ‘singular’ shows the featured image 72px lower than the other.

    Rather than hacking the theme what causes this difference in page classes?

    the full selector is ; .full-width.singular .site-content .hentry.has-post-thumbnail

    and changing this
    <body class=”full-width grid”>
    to this
    <body class=”full-width singular”>

    invokes a -72px padding on the article container

    in fact there are a number of issues with using a featured image on the home page, especially when viewing on <600px devices. What makes this page different?

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Theme: twentyfourteen] page classes’ is closed to new replies.