Jump to content

Underlined Active Navigation item on Mobile

Recommended Posts

Site URL: https://rocksforlife.com

I aim to make the navigation link underlined when it's active (hamburger menu on mobile).

The code I tried implementing (& is not working):

body:not(.tweak-mobile-overlay-menu-primary-style-button) .Mobile-overlay-nav .Mobile-overlay-nav-item-- active, p a
{ text-decoration: underline;
}

May somebody give a hand to solve this issue?

The link: https://rocksforlife.com/
Pass: rocksfor.life
 

Screenshot 2021-05-31 at 11.28.54.png

Link to comment
  • Replies 2
  • Views 437
  • Created
  • Last Reply
7 hours ago, tuanphan said:

Will plan you use? Personal Business or COmmerce? I think you will need to use JavaScript code on mobile

It's commerce basic.

Any insights of the JS that can execute this particular need?

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.