Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search

Squarespace 7.1 Mobile navigation color change


Recommended Posts

Site URL: https://www.core4.com.au/

Hi there

My mobile navigation when scrolled below hero banner is white and i would like this to be the same colour as the remaining of my mobile navigation folder as i lose the exit and the logo. Please see attached screenshot. I have used the below code for remaining of navigation but just need the first section the same colour. Please note this is only on scroll.

 

/*For the header background color:*/

@media screen and (max-width:640px) {.tweak-transparent-header .header .header-announcement-bar-wrapper:not(.shrink):not(.transparent-header-theme--override) {
background-color: #4d4d4f !important; 
  }
}

/*For the bottom piece with CTA button:*/

.header-menu-cta {
  background-color: #4d4d4f !important; 
}

/*For the middle section with Nav items:*/

.header-menu-nav-folder-content {
  background-color: #4d4d4f !important; 
}

/*And to change the hamburger/X icon colors:*/

.burger-inner:after {
    background: #fff !important;
}
.burger-inner:before {
    background: #fff !important;
}

 

 

Many thanks!

Screen Shot 2020-08-08 at 9.01.52 am.png

Link to comment
  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

  • 4 weeks later...
On 9/3/2020 at 6:21 PM, adrianadelgiudice said:

Hi, your site is really well done.

I'm after the same functionality as your navigation bar. Changing colour from transparency when scrolling. Could you kindly share the css you've used?

It'd be greatly appreciated!

Thanks!

Can you share site url? We can take a look

Email me if you have need any help (free, of course.). Answer within 24 hours.

How to: Setup password & share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care - Learn CSS - Custom Popup - Testimonial Slider

I'm Tuan, blogger/owner of a free library for children in Vietnam. Helping the community is a hobby. Contact me via email.

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...