Container background image full-width with content boxed

Posted in: Newspaper
Post count: 4

Hello,
I use a newspaper with default Pro as a prebuilt template (12.6.8). I am struggling with containers. I would like to force the background image/color in containers to be full-width, but the content keeps the padding as it is.


I tried a few different ways but none gave proper results in stretching the background image, and changing padding in CSS for 0px does more harm than good:
@media (max-width: 767px) {
.tdc-row.td-stretch-content, .tdc-row-composer.td-stretch-content {
padding-left: 20px;
padding-right: 20px;
}
}

Result of changing padding from 20px to 0px:
Result of changing padding from 20px to 0px

Current mobile look of the image as the background of container
Current mobile look of the image as the background of container

Result that I would like to get
Result that I would like to get

Container structure in BLock Builder looks like below:

I would be grateful for help.

  • This topic was modified 1 year by rainteq.
Post count: 27744

Hello,

So, you want to extend an image from your post content?
Please provide the link to your website.

Thank you!

Post count: 4

You won’t be able to view the site without an account.

Viewing 3 posts - 1 through 3 (of 3 total)
The forum ‘Newspaper’ is closed to new topics and replies.