Jump to content

Add Subtext to Drop-Down Nav Menu Options

Go to solution Solved by tuanphan,

Recommended Posts

Posted

Have a website where we want to add a few words in a smaller text underneath drop-down menu options to better describe the products.

Website: www.creativelandscapedepot.com

Example: Under Collections drop down doing the following:

Origins
Bulk Natural Stone

Architectural
Domestic Natural Stone (smaller, thinner text)

  • Replies 2
  • Views 1.1k
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

  • Solution
Posted

You can use this to Website > Website Tools > Custom CSS

div.header-nav-folder-item a[href="/origins"] span:after {
    content: "Bulk Natural Stone";
    display: block;
    font-size: 14px;
}
div.header-nav-folder-item a[href="/architectural"] span:after {
    content: "Domestic Natural Stone";
    display: block;
    font-size: 14px;
}

image.png.f8d0ea24ab68f41b17b6bd5262d7b756.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!)

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.