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”>
<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?
- The topic ‘Page classes’ is closed to new replies.