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 Tutorial Helpful?

Free

$0

Access only to all free tutorials per month.



Monthly

$75

Access to 10 premium tutorials per month.


Tutorial Request


Includes code guarantee and coding support.

Yearly

$500

Access to 15 premium tutorials per month.


Monthly Tutorial Request


Includes code guarantee and priority coding support.