Site logo

Archived topic

generate blocks full width page

1 reply · Started by kiant123 on November 26, 2020

Viewing posts 1–2 of 2

Hi,

I can't seem to make a full-width page using generate blocks even though I seem to have all the settings that I can think of set to full width.

Any ideas?

Thanks

Hi there,

you have this CSS which is affecting the width of the main content across the entire site:

@media only screen and (min-width: 769px) {
    #primary {
        max-width: calc(100% - 300px);
    }

    #right-sidebar {
        min-width: 300px;
    }
}

If you need that CSS still, change it to this, it will only apply to pages where the right-sidebar is enabled:

@media only screen and (min-width: 769px) {
    .right-sidebar #primary {
        max-width: calc(100% - 300px);
    }

    .right-sidebar #right-sidebar {
        min-width: 300px;
    }
}
This archived topic is closed to new replies.