sarah_lmey Posted January 16, 2021 Share Posted January 16, 2021 Hi there, I'm looking to change the background color of each individual drop-down folder in my navigation menu. This code changes the color for all the folders: .header-nav-folder-content { background: #F7D4AA !important; } But I'd like to have a different color for each folder when it drops down. My website is not published but here's a screenshot to show what I'm talking about (when I hover over "Yums") Beyondspace 1 Link to comment
Solution Beyondspace Posted January 16, 2021 Solution Share Posted January 16, 2021 9 hours ago, sarah_lmey said: Hi there, I'm looking to change the background color of each individual drop-down folder in my navigation menu. This code changes the color for all the folders: .header-nav-folder-content { background: #F7D4AA !important; } But I'd like to have a different color for each folder when it drops down. My website is not published but here's a screenshot to show what I'm talking about (when I hover over "Yums") You can take note of the folder slug url and use it to identify different folder, below code change color of the folder with url slug /abouts .header-nav-folder-title[href*="/abouts"] + .header-nav-folder-content { background-color: red !important; } tuanphan and sarah_lmey 1 1 Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Lightbox Studio pluginIf you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you Link to comment
sarah_lmey Posted January 17, 2021 Author Share Posted January 17, 2021 This works PERFECTLY! Thank you so much!! Beyondspace 1 Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment