Guest 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") Link to comment
Beyondspace Posted January 16, 2021 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; } BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox, video lightbox and much more) 🗓️ Delivery Date Picker (Squarespace Date picker form field) 💫 Gallery block 7.1 workaround 🥳 No-code customisations for Squarespace (+100 Spark plugin customisations) 🥳 Freemium Squarespace Widget Templates (+1000 Elfsight Templates) If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you! Link to comment
Guest Posted January 17, 2021 Share Posted January 17, 2021 This works PERFECTLY! Thank you so much!! Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.