Archived topic
How to show featured image full width in mobile version (Archive page)
5 replies · Started by Rohan Verma on August 31, 2022
Hello I want to show the featured image full width in mobile version (Archive page). Here you can see the gap: https://pasteboard.co/zccffv0kfffZfuHKqGnnF.jpg. I wan the image to cover the title length.
Hi Rohan,
Can you provide the link to the page in question?
You may use the private information field for this: https://docs.generatepress.com/article/using-the-premium-support-forum/#private-information
Sure our homepage which is using wp showpost.
Our normal archive pages are good on mobile. They are showing full widgth image but on homepage the image is left alligned.
I see. You can try adding this in Additional CSS:
@media (max-width: 768px) {
.home .wp-show-posts-image img {
width: 100%;
}
}
Wow, thanks that worked.
You’re welcome Rohan!