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?
Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025