Jump to content

Removing underline on drop down navigation - desktop and mobile

Recommended Posts

Posted

Site URL: https://lobster-ray-g42d.squarespace.com/config/design/custom-css

Hi - I am hoping someone can assist. I am struggling to remove the underline in my dropdown navigation and mobile navigation. I have been using the following codes, which have been suggested in previous queries, but it does not seem to work for me and I don't know why!

Thank you!


header a {
  background-image: none !important;
}

div.header-menu-nav-item--active a {
  background-image: none !important
}

.header-nav-wrapper a {
    background-image: none !important;
}

Screen Shot 2022-06-14 at 9.17.57 pm.png

Screen Shot 2022-06-14 at 9.18.59 pm.png

  • Replies 2
  • Views 764
  • Created
  • Last Reply

Top Posters In This Topic

Posted
25 minutes ago, tuanphan said:

Try this code

div.header-nav-item * {
	background-image: none !important;
}

 

YES!! Thank you, that worked. Much appreciated 

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.