Jump to content

Customise Mobile Navigation on home page only

Recommended Posts

I have added custom code in the advance section on my homepage to include a white logo in the header as the homepage has a dark black and white image. Because you can only set one colour style to the mobile navigation across all pages, the mobile navigation doesn't look great on mobile. image.thumb.png.52969424e3e5f133ade8cfdda0c60625.png

Is there a way to change the colour of the background, text, and cross with the mobile navigation on the homepage only?

https://seadragon-cello-c7j6.squarespace.com/

password: statement1

Link to comment
  • Replies 1
  • Views 272
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

On 2/20/2023 at 7:29 AM, Mims said:

I have added custom code in the advance section on my homepage to include a white logo in the header as the homepage has a dark black and white image. Because you can only set one colour style to the mobile navigation across all pages, the mobile navigation doesn't look great on mobile. image.thumb.png.52969424e3e5f133ade8cfdda0c60625.png

Is there a way to change the colour of the background, text, and cross with the mobile navigation on the homepage only?

https://seadragon-cello-c7j6.squarespace.com/

password: statement1

Add to Design > Custom CSS

body.homepage.header--menu-open .header-title-logo a {
    visibility: visible !important;
    opacity: 1 !important;
    filter: invert(1) !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.