WP SITES

3095 Coded Tutorials & 297 Plugins

Make Featured Image Span Full Width of Content in Genesis Single Posts

By default, most themes add a margin around featured image which you can see in this screenshot:

image margin

In this tutorial i’ll show you 2 different ways to remove the margin from both sides of your featured image so it extends full width of the entry content container when added to single posts before the entry title.

Add Full Width Featured Image Before Content Entry

Here’s the PHP code you can paste at the end of your child themes functions.php file using a code editor.

Related Tutorials

Was this helpful?

Yes
No
Thanks for your feedback!

Leave a Reply