Remove featured image on full width pages but keeping the images on grid page
-
Hello
I am trying to hide every featured image on full width pages, but :
> I want to keep the small image on the grid page
> I want to keep the image on the homepageI did write this in the css :
.page-template-full-width-page .hero.with-featured-image {
display: none !important;
}It works, but then it messes up other things (the breadcrumb is lost in the header, the image which is “align left” appears in the center. Here you can see what I mean
> https://laffontenergies.com/nos-metiers/chauffagiste-le-cheylard/Can you help me ? I am really beginner….
Thank you
The blog I need help with is: (visible only to logged in users)
-
Hi, there is a negative bottom margin set on .site-header on pages with a featured image. We need to set that back to 0. Add the following to the bottom of your custom CSS.
.site-header { margin-bottom: 0 !important; } -
-
- The topic ‘Remove featured image on full width pages but keeping the images on grid page’ is closed to new replies.