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?
Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024The Hydrogen Visual Editor is now available to merchants in Shopify Editions | Summer '...
By JasonH Sep 2, 2024Note: Customizing your CSS requires some familiarity with CSS and HTML. Before you cust...
By JasonH Aug 12, 2024