Jump to content

Change Header Height on Mobile Only Squarespace 7.1

Go to solution Solved by tuanphan,

Recommended Posts

Hi guys,

I'd like to change the header height on mobile only.

Website: www.thehomecollective.com.au

pword: Torquay1!

 

I have this code for header height on desktop:

.tweak-fixed-header .header .header-announcement-bar-wrapper {
    padding-top: 1.5vw !important;
    padding-bottom: 1.5vw !important;
}

 

Thanks.

Link to comment
  • 1 year later...
3 hours ago, Belizabeth said:

I am having the same issue. My mobile header is taking up too much space. Any help is greatly appreciated!

www.elizabethlovestoorganize.com

Use this code to Website > Website Tools > Custom CSS

@media screen and (max-width:767px) {
div.header-announcement-bar-wrapper {
    padding-top: 1px !important;
    padding-bottom: 1px !important;
}
[data-section-id="6631c9bd55a2de432d051a18"] {
    padding-top: 100px !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.