Jump to content

Different colour underline on font to font colour

Recommended Posts

  • Replies 3
  • Views 1.2k
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

@PoppyShotts You can customize the font color of the header navigation items by going to 'Edit Site Header.' To add a black underline to the header navigation items, you can add this code snippet in the 'Custom CSS' panel. Once you've added the code, please let me know if this achieves the desired effect you're looking for."

This version clarifies the process and instructions.

.header-nav-item a {
    text-decoration: underline !important;
    text-decoration-color: #000 !important;
}

If my comments were useful, please like or mark my solution as answer so others can scroll to it quickly. 

Sam
Web Developer & Digital Designer

 Did you find my contribution helpful? Buy me a coffee?

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.