Site logo

Archived topic

I want different width only to my pages

4 replies · Started by Divyanshu on November 24, 2018

Viewing posts 1–5 of 5

In my site layout>container>container width I have set 1000px width. But on pages and only on pages, I want 730px with no sidebars. How do I do this. As I change container width to 730px all this changes from header to blog content width including sidebar. You can take a look at this site https://www.authorityhacker.com/best-email-marketing-software after the image I want this much of content width and layout ( as you see no sidebar)

Hi there,

We were going to add this option to GP 2.2, but pulled back on it last minute so we could think on it a little more.

Try this CSS:

.no-sidebar.page .inside-article > * {
    max-width: 730px;
    margin-left: auto;
    margin-right: auto;
}

Thanks! Problem resolved.

Again, When I use section in page. It shows same width again. The code is not working on section. It only works in WordPress editor

Try adjusting it this this:

.no-sidebar.page .inside-article > *,
.generate-sections-inside-container {
    max-width: 730px;
    margin-left: auto;
    margin-right: auto;
}
This archived topic is closed to new replies.