Archived topic
Tasty white space under feature image
9 replies · Started by Thassia on May 14, 2022
Hi there,
I have installed the Tasty demo site and customized my blog + archive pages to not show author, category and post tags.
However, I still have this white background box at the bottom of the feature image where these items used to be shown. How can I get rid of this? I don't mind the white background under the title but if I have to get rid of that to get rid of the white background below the feature image, I'm happy for this to go too.
Thank you!
Hi there,
can you share a link to your site so i can see what is going on ?
Sure, I attached it. Thanks.
Just to confirm, the entry meta is set to display in the customizer?
https://docs.generatepress.com/article/blog-content-layout/#archives
Let me know :)
I unchecked all of that in customizer. I added a screenshot for you.
Do you think it's the excerpt space keeping that white box? I kept the content type to show "Excerpt" in archives (because I don't have the option to get rid of it - I would prefer that), then 'excerpt word count' to zero and an empty 'Read more label'.
I tried adding CSS code to not display read more button and the "..." in the customizer but didn't work either, the white area is still there.
What design would you want to achieve ? As it may be simpler to create that as opposed to force this design to work for you.
You can then use a Block Element - Content Template yo build it:
https://docs.generatepress.com/article/block-element-content-template/
Hi David,
I just want to get rid of this white block below the feature images in my archive pages.
Well you can use this CSS method:
.generate-columns-container .generate-columns .inside-article {
padding-bottom: 0;
}
.generate-columns-container .generate-columns :where(.entry-summary, .entry-meta ) {
display: none;
}
.generate-columns-container .generate-columns .post-image img {
vertical-align: bottom;
}
Which is fine if you never want to show an excerpt or footer meta.
Worked perfectly! Thank you so much!
Glad to hear that!