Jump to content

Control width of header

Recommended Posts

Site URL: https://www.focus-hhc.org

See this page, www.focus-hhc.org.  It's 7.1.  Ignore the rotating banner block on the top of the home page, just look at "about us" or any of the other pages.      The sections on all the pages are medium-width.  I just like it that way.  The problem is that the header is always full width of the screen.  Doesn't look balanced.   I've tried all of squarespace's options for the header.  Nothing gives me the ability to make it match a medium width section.  I'd like to control the header width and make it "medium" like the sections.  Any idea on how to accomplish this with custom CSS or other...?  BTW, all mobile width screen resolutions that are small enough for the minimized menu look just fine.  So I'd like to NOT mess that up.  I guess what I'd like is header padding to equal the main page padding.

Thank you in advance for your help.

Dave

Link to comment

I guess you can edit Site Header > You will see a box in right side > Find there.

or add this to Home > Design > custom CSS

@media screen and (min-width:768px) {
.header-announcement-bar-wrapper {
    padding-left: 5vw !important;
    padding-right: 5vw !important;
}
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment
  • 2 years later...
  • 2 years later...
10 hours ago, ivan-dabbles said:

I'm looking to widen the header on my 7.1 fluid site: I want to move the logo further left and nav text further right. This snippet above isn't working for me. Can you help? 

 

Thanks!

Use this new code, if it doesn't work, please share site url, we can check easier

div.header-announcement-bar-wrapper {
    padding-left: 1vw !important;
    padding-right: 1vw !important;
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment

Create an account or sign in to comment

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

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.