Archived topic
full-width featured image for mobile responsive pages
3 replies · Started by Marko on February 11, 2022
Hey guys,
Sorry I tried to search for this but couldn't find an answer.
I want to be able to make my posts full width, just like my page setup in the private details. However my post setup seems to follow the same margin as the text but I haven't been able to fix this myself, hoping you might be able to point me in the right direction settings or css wise with generatepress? Thank you.
I've also shared screenshots in mobile view to show what I mean.
Thank you.
Hi there,
try adding this CSS:
@media(max-width: 768px) {
.post-image-above-header .inside-article .featured-image {
margin-left: -30px;
margin-right: -30px;
}
}
Thank you David, that worked perfectly.
You're welcome