How can I disable the hover underline in Ella theme navigation?

Hey there!
I’m using Ella theme, and I’m currently facing a problem where I wanna know how can I disable the underline which appears on my navigation when I hover. Anyone got any idea how can I remove the hover underline on navigation?

Store URL: https://saya.pk/

Hi @Moeed

You can try this code by following these steps:

Go to Online store => themes => actions => edit code and add this code on file theme.liquid before tag


Hope this answer helps.

Best regards,

Victor | PageFly

Hey @PageFly-Victor
Thanks for that, but the problem isn’t solved fully; the underline is still visible on sub-categories and child categories.

Hello @Moeed ,

You can follow these steps:

  1. Go to Online Store->Theme->Edit code

  1. Open your theme.liquid file, paste the below code before

ul.site-nav li:hover a {
    text-decoration: none !important;
}
ul.site-nav li:hover a > span:before {
    height: 0px !important;
}

I hope the above is useful to you.

Kind & Best regards,
GemPages Support Team

You can use the new code below to fix it


Hi there, none of these worked for me in Dawn theme… Any ideas how to remove underline on hover from Dawn theme?