Archived topic
Different content width on same pages
3 replies · Started by Jagoba on January 25, 2019
Hi,
I would like to have a content width of 900px on the website, and on every page with sidebar but only there a 1400px width content, is it possible?
Many thanks!
Hi there,
what you could do is this, set your Customizer > Layout > Container to 1400px and then use this CSS:
body.no-sidebar:not(.full-width-content) .site.grid-container {
max-width: 900px;
}
Which reduces the container width when no sidebar is present.
Thanks David!
The problem is that when I do that, the pages that I have customized with Thrive Archivect in full width get the width of 900px...that is why I was trying to do the other way round...is there any other form to do it?
Thanks!
I edited the code above to exclude fullwidth pages, assuming the full width is being set by GP.