Full width featured image in single post view

Hi Team,

In my site the featured image at the top of every blog post and the content text have the same width.

I am looking at forcing a full width featured image in single post view while keeping the content text width as it is. Would that be possible?

By the way, I am using X 5.1.1 and you can take this post as an example:

Thank you guys for an excellent support!

David

Hello @davidferp,

Thanks for asking. :slight_smile:

It’s bit difficult to achieve in current setup reason being the image is wrapped inside the container that has a max width limit defined. However with custom code you can achieve that layout, but that will be outside the scope of the support we offer. I am sharing few Stackoverflow links to help you get started.

Thanks.

Hello Prasant,

Thank for taking the time for coming back to me. I thought so… In the meantime, I found an additional resource that could also be of interest for other users. The code in this post applies a parallax effect on the featured image, but also displays it full width. It has enough potential to solve this problem

Will post the code if I find the solution

Cheers

Hi There,

Ben Ryan solution looks great.

Thanks for sharing