Jump to content

How to change the colour/transparancy on the mobile nav after adding custom code to make navigation drop downs transparent

Go to solution Solved by Ziggy,

Recommended Posts

Site URL: https://sturgeon-fiddle-fxnb.squarespace.com

Hey guys! 

I am struggling with something. I have used a plugin to have nested drop down menus and then adding css to make the background of these menus transparent as we preferred the look. But now, the mobile menu nav is also transparent which makes it impossible to read. 

Any code out there to change the colour of the mobile nav menu back to the background colour without touching the design of the desktop version? 

Thank you! 

Website: https://sturgeon-fiddle-fxnb.squarespace.com

Password: Help!

Screenshot 2024-09-11 at 12.03.19.png

Screenshot 2024-09-11 at 12.03.39.png

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

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted Images

  • Solution

Try this in Custom CSS:

.header-menu {
    background: var(--siteBackgroundColor);
}

 

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 
Hire me on Upwork!

🔌 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲 SQSP Themes (Referral link) 
Spark Plugin (Referral link) 
 🖼️ Pinch-to-Zoom Gallery Lightbox Plugin (Referral link) 

 Did I help? Buy me a coffee?

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.