site width

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Locked
jeroen

site width

Post by jeroen »

Can anyone tell me how to adjust the wdth of the site I'm creating?
So not just the header or menu or footer but the complete site.

Thanks in advance
jelle

Re: site width

Post by jelle »

Search for min-width or max-width if you built on the default template/css.
amygdela

Re: site width

Post by amygdela »

add an extra div around everything:




your contents here

jelle

Re: site width

Post by jelle »

Avoid px sizes when you can. Unless you have a banner image that is 800 px wide that you need to size the rest of the site to, there is no need to fix the width to 800 px. But plenty of sites do so anyway, so yo will need to make your own decisions.
trud

Re: site width

Post by trud »

It is allready there, you just make a few changes.
Go to the stylesheet named layout.

Fint the div named "pagewrapper":

div#pagewrapper {
        margin: 40px auto;
        max-width: 80%;

Edit the maxwidth or just put
width: whateverwidth;

The pagewrapper is surounding all the other divs, so changes to this will change the width for everything.
Locked

Return to “Layout and Design (CSS & HTML)”