All things Shopify and commerce
I am having a hard time figuring out how to change the underline color on hover with the Pipeline theme. It doesn't appear to be an option in the theme settings.
I have tried this code, but no luck.
.header__menu-item span:hover {
color: red;
}
Store: https://sincerelychainco.com/?_ab=0&_fd=0&_sc=1
password: Scc8500!
Thank you!
Hello @amcfarlane, I have visited your store and you can easily fix this by updating your theme files.
Please go to Online Store > Themes > Choose your theme > Edit Code
There find the file name "site.scss.css", and open this file to edit.
Then find ".main-menu__nav-item>a:before" and in this style update the "background" to your desired color. I have updated it to Yellow but you can choose whatever you like.
.main-menu__nav-item>a:before{
content: "";
position: absolute;
bottom: 0;
width: 0;
left: 50%;
transform: translate(-50%);
transition: all .3s ease;
background: yellow; /* update your desired color and remove this comment */
height: 1px;
}
Hello, thank you for your reply.
I am having trouble finding "site.scss.css". When I search for it nothing comes up. Do you know what file it would be under?
No problem, you will find theme.liquid file. Open this file and below the <head> add a new line and past the following code. Hopefully, it will give you the desired result.
<style>
.main-menu__nav-item>a:before{
background: yellow !important;
}
</style>
Regrds,
Osama Farooqi
No luck. I found <head> and added the code, but I don't see a change. Did I put it in the right spot?
Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025