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?
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024