Jump to content

[Share] How to add additional text to Dropdown Items

Recommended Posts

Posted

If you can follow these steps to add additional text to Dropdown Folder items, like this

image.png.6de2d9f0acc006fba3149a345b022981.png

If it doesn't work, you can share site url + exact code you added, I can check easier.

#1. First, you need to know this

image.png.a9e8a70d166028ac1bd4020b9e63f3a9.png

#2. Next, use this code to Website Tools > Custom CSS

nav>div.header-nav-item:nth-child(1) div.header-nav-folder-item:nth-child(1) a:after {
    content: "Netflix Video";
    display: block;
    font-size: 12px;
    color: #fff;
    margin-bottom: 10px;
}
nav>div.header-nav-item:nth-child(1) div.header-nav-folder-item:nth-child(2) a:after {
    content: "Coca Cola Drink";
    display: block;
    font-size: 12px;
    color: #fff;
    margin-bottom: 10px;
}
nav>div.header-nav-item:nth-child(1) div.header-nav-folder-item:nth-child(3) a:after {
    content: "Nokia Phone Battery Long";
    display: block;
    font-size: 12px;
    color: #fff;
    margin-bottom: 10px;
}
nav>div.header-nav-item:nth-child(1) div.header-nav-folder-item:nth-child(4) a:after {
    content: "Tech company in Vietnam";
    display: block;
    font-size: 12px;
    color: #fff;
    margin-bottom: 10px;
}

image.thumb.png.bf131b8490d8894a3dc9ea24801af302.png

#3. Result

image.png.6de2d9f0acc006fba3149a345b022981.png

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

  • Replies 0
  • Views 603
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted Images

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.