Jump to content

Highlighting one option only in the dropdown menu to gain attention to promotion.

Recommended Posts

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
  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted Images

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 useful to you. Thanks!

Zygmunt Spray
Squarespace Website Designer
Contact me: https://squarefortytwo.com/ 
🔌Ghost Squarespace Plugins (Referral link)
Buy me a coffee

Link to comment
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;
}

image.thumb.png.cd041bb81b1761b4d34bc5d35b62a6f1.png

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

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.