Jump to content

How to change dropdown menu in navigation bar to highlight instead of underline?

Go to solution Solved by tuanphan,

Recommended Posts


Is it possible to change the code so that when an item from my drop down menu is selected it highlights the text in a different colour rather than using an underline? Right now the spacing looks really weird (see picture) and I would rather it just highlight in a different colour



Screenshot 2024-02-20 at 10.57.56.png

Edited by LONDNR
Link to comment
  • Replies 1
  • Views 1.2k
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

  • Solution

Something like this?


Use this code to Website > Website Tools > Custom CSS

body:not(.header--menu-open) .header-nav-folder-item--active .header-nav-folder-item-content {
    background-image: none !important;
    color: #f1f;


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!)

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.