Jump to content

How to change the colour on only one drop down menu?

Recommended Posts

  • Replies 5
  • Views 548
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

You need to get it's block-id and target by that the actual element !

You can use this Chrome extension to see what is the id for the respective element: 

https://chrome.google.com/webstore/detail/squarespace-id-finder/igjamfnifnkmecjidfbdipieoaeghcff?hl=en

 

If you want additional information about block id and section id :

 

 

 

Edited by joseph81

Jozsef Kerekes - Front-end developer and Squarespace enthusiast
My Blog: https://ui-workarounds.com
If you like my answer, please give me an upvote/like. Highly appreciated.

 

 

Link to comment

You could target subsequent folders in the navigation using nth-child(n), change the colours as needed and add as many as you want.

.header-nav-item--folder:nth-child(1) { 
  .header-nav-folder-content {
    background: #a1bea8; 
  }
}
.header-nav-item--folder:nth-child(2) { 
  .header-nav-folder-content {
    background: red; 
  }
}
.header-nav-item--folder:nth-child(3) { 
  .header-nav-folder-content {
    background: blue; 
  }
}

Hope this helps!

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) 

 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.