Underline active menu in Impulse theme

bineshsingh
Excursionist
17 0 4

Hello all,

I want to add a feature where the active navigation menu will be underlined. I tried similar solutions posted to the community but it did not work out for me. Please provide suggestions regarding the feature. 

 

0 Likes
dmwwebartisan
Shopify Partner
4537 1019 1317

@bineshsingh 

Please share your website URL and password if any. I will check and provide a solution here.

Thanks!

If helpful then please Like and Accept Solution.
Email: dmw.webartisan@gmail.com | Instagram: @dmw.webartisan
Advanced Shopify Page Builder to customize your pages - check here PageFly App
0 Likes
bineshsingh
Excursionist
17 0 4

Hello, 

Following is the link and view access.

https://love-and-above-cat-club.myshopify.com/

p/w: LAACC

bineshsingh
Excursionist
17 0 4

@dmwwebartisan  i have attached details above

0 Likes
dmwwebartisan
Shopify Partner
4537 1019 1317

@bineshsingh 

Please add the following code at the bottom of your assets/theme.css file.

a.site-nav__link.site-nav__link--underline:active {
    text-decoration: underline;
}

Hope this helps.

Thanks! 

If helpful then please Like and Accept Solution.
Email: dmw.webartisan@gmail.com | Instagram: @dmw.webartisan
Advanced Shopify Page Builder to customize your pages - check here PageFly App
0 Likes
bineshsingh
Excursionist
17 0 4

Hello @dmwwebartisan,

When i click on the main menu option such as the "About" page, it underlines when I click on the menu but it does not remain underlined on the active page. 

0 Likes
dmwwebartisan
Shopify Partner
4537 1019 1317

@bineshsingh 

Please remove last code and add this new code.

.site-nav__link.site-nav__link--underline:active {
    border-bottom-color: #000000;
    content: "";
    display: block;
    bottom: 0;
    left: 0;
    right: 100%;
    margin: 0 15px;
    border-bottom: 2px solid;
    border-bottom-color: #594e4f;
    border-bottom-color: var(--colorNavText);
    transition: right 0.5s;
}

 

Let me know if this works.

Thanks!

If helpful then please Like and Accept Solution.
Email: dmw.webartisan@gmail.com | Instagram: @dmw.webartisan
Advanced Shopify Page Builder to customize your pages - check here PageFly App
0 Likes
bineshsingh
Excursionist
17 0 4

Hello @dmwwebartisan,

It's the same issue again. It still doesn't remain underlined in the active menu option.

0 Likes
dmwwebartisan
Shopify Partner
4537 1019 1317

@bineshsingh 

"Active" should work but it seems it is not working. I will check more and get back to you with a solution.

Remove the old code that I have given for now.

 

 

If helpful then please Like and Accept Solution.
Email: dmw.webartisan@gmail.com | Instagram: @dmw.webartisan
Advanced Shopify Page Builder to customize your pages - check here PageFly App
0 Likes
bineshsingh
Excursionist
17 0 4

@dmwwebartisan 

 

Thank you for the update. Please let me know. 

0 Likes