Jump to content

How to change header width?


Recommended Posts

Hello,

 

I have made this theme via Presta Theme maker. I couldn't find this option there, but maybe it is possible to change in the CSS? I would like to make the white area from the header some smaller. Please see the attachment.

 

Hope to hear from somebody soon.

webshop.png

Edited by DorkV (see edit history)
Link to comment
Share on other sites

Typically for that, you'd want to set the sides to be the body colour, then have the white just be the background of the wrap which is centred in the middle

 

Might already be like that in fact, hard to tell specifically how it's laid out from just a screenshot.

 

If it does have that as the background colour, and the header is just going full width, try setting it to the same width the main content is and margin: auto; to centre it

Link to comment
Share on other sites

Hi DorkV,

 

There must have a div called "container" or something like that with in the CSS an attribute width (if your design has a fixed with) or max-width (if it is fluid). You can change the value of it to change the global with of your website. Pay attention that your banner or your design could need some other changes.

 

Hope it will help you.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...