How do I center the header with no padding around it?
I’m using the Vantage Premium boxed layout and I’ve been trying snipets in the custom css to get rid of padding and to center my logo in the header to no avail. My site is: http://www.whostakingthetrain.com/ Could you please take a look at it and see what I’m doing wrong?
This is our free support forum. Replies can take several days.
Need fast email support? Get SiteOrigin Premium
Replies
10Hi Dlechner,
I’ve taken a look at your website and checked the padding. It looks like this issue has been resolved but just to be sure, would you mind letting us know if you still need help? If so, we’ll jump right in. If not, is there anything else I can help you with today?
By the way; as you’re a Vantage Premium user you’re entitled to priority email support. If you would like to make use of that please follow the instructions found on this page. Please reference this thread.
I still need help Alex. It’s centered but there is padding on each side of the logo image that I don’t want to have there. When I change the padding the nav bar pops out.
Deb
Hi Dlechner
I’m very sorry about the misunderstanding. You can change this with some custom CSS. If you navigate to AppearanceCustom CSS, you’ll get our custom CSS editor. Just add the following code.
.site-header { padding: 0 !important; } .main-navigation { margin: 0 !important; }You might also need to install the SiteOrigin CSS Editor.
I just did that and the header moved to the left but didn't fill the space.
Hi Dlechner
Sorry about that. If you navigate to AppearanceCustom CSS, you’ll get our custom CSS editor. Just add the following code.
.logo { float: none !important; text-align: center; }You might also need to install the SiteOrigin CSS Editor.
Hi Dlechner,
If you’ve changed your mind and rather have the image full width you can do this by adding the following CSS. If you navigate to AppearanceCustom CSS, you’ll get our custom CSS editor. Just add the following code.
.logo img { width: 100%; }You might also need to install the SiteOrigin CSS Editor.
I changed it to "img.logo-NO-height-constrain" and with your changes it worked!!!!
Hi Dlechner,
That’s great to hear! Is there anything else I can help you with today?
No, thank you, Alex. That does it! I love Vantage Premium. I've used it on about 5 websites so far. Thanks for the great service tonight!
Deb
Hi Dlechner,
That’s great to hear. By the way; as you’re a Vantage Premium user you’re entitled to priority email support. If you would like to make use of that next time please follow the instructions found on this page.
Replies on this thread are closed.
Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.