IrmaA Posted October 5, 2022 Share Posted October 5, 2022 Site URL: https://www.irmaarrowsmith.com Hi there, I'm doing a promotion and would like to highlight this option (fresh 48 newborn photoshoot) in the dropdown menu. I know that you can style the entire dropdown menu, but I only want to highlight one option in the dropdown menu. Either highlighting this text or making it a different colour to make it stand out. Any help much appreciated! Thanks, Irma Link to comment
Ziggy Posted October 5, 2022 Share Posted October 5, 2022 Something like this should work, a bit complicated because of targeting just one item: .header-nav-folder-content:nth-child(1) { .header-nav-folder-item:nth-child(2) { background: red; padding:3px 0; } } Please like and upvote if my comments were helpful to you. Cheers! Zygmunt Spray Squarespace Website Designer Contact me: https://squarefortytwo.com 🔌 Ghost Squarespace Plugins (Referral link)📈 SEO Space (Referral link)⬛ SquareWebsites Plugins (Referral link)☕ Did I help? Buy me a coffee? Link to comment
IrmaA Posted October 5, 2022 Author Share Posted October 5, 2022 Thanks Ziggy, I've just tried that, but didn't seem to do anything. I know it's a bit of a complicated one... Link to comment
tuanphan Posted October 8, 2022 Share Posted October 8, 2022 On 10/5/2022 at 6:20 PM, IrmaA said: Site URL: https://www.irmaarrowsmith.com Hi there, I'm doing a promotion and would like to highlight this option (fresh 48 newborn photoshoot) in the dropdown menu. I know that you can style the entire dropdown menu, but I only want to highlight one option in the dropdown menu. Either highlighting this text or making it a different colour to make it stand out. Any help much appreciated! Thanks, Irma Add to Design > Custom CSS div.header-nav-folder-item [href*="-48-newborn"] span { font-weight: bold; text-decoration: underline; color: #f1f; } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care 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