Twenty Twenty featured image wider than 1200px — full viewport width
-
I’m attempting to create pages where the Featured Image displays immediately below the Header, and the Featured Image expands beyond its 1200px default width—expands left and right as does the Header content to the Header content’s 2000px limit.
I’ve tried the css solution from this thread from a Twenty Twenty user, but it had no effect.
I’ve tried increasing the Thumbnail size in Settings>Media to 2000px and reloaded the Featured Image, but the 1200px wide image was still selected by WordPress for display. I also attempted to set the Featured Image/Thumbnail size in the Twenty Twenty theme’s function.php, but that too had no effect. Still it was a 1200px wide image used by WordPress for this page.
Further, I’ve attempted to use css on .featured-media img to increase the element’s width and max-width. This did allow the Featured Image to expand to the right well beyond 3000px, but not to the left? Not ideal on its own anyway, as it is scaling a lower resolution image.
All guidance appreciated. I’m just now beginning the process of migrating this Squarespace site to WordPress, where this banner image design element predominates across nearly all that site’s pages.
The page I need help with: [log in to see the link]
- The topic ‘Twenty Twenty featured image wider than 1200px — full viewport width’ is closed to new replies.