Site logo

Archived topic

Container backgrounds too wide

5 replies · Started by Nick on February 11, 2022

Viewing posts 1–6 of 6

I don't seem to be able to find any setting for the generateblocks Container which works for my page at https://devradioverulam.com/. The containers seem to have large negative margins which mean the background bursts out of the confines of the page

Hi there,

Did you import Charge template from our site library?

If so try removing this CSS in the Additional CSS field in the customizer:

html {
	background: #ddd;
}

body {
	max-width: 1500px;
	margin-left: auto;
	margin-right: auto;
}

It's specifically used for that template only.

I did, yes. Thanks a lot. problem solved. Should have checked the Custom CSS first.

No problem :)

Experiencing a similar issue, there is no custom CSS in use. The container bursts when set to full width.

Full Wisth

Hi Berto,

Setting container alignment to align full will cause horizontal scroll.

The correct way to do is:
1. Set the page's content container to full widthin the layout meta box:
https://docs.generatepress.com/article/layout-metabox-overview/#where-is-it

2. Disable the align full option, then the container should be full width by default, if not, then set its outer container to full width.

This archived topic is closed to new replies.