Shopify themes, liquid, logos, and UX
Hey ! i want to add underline with black color who appears from left to right below header icon when the mouse is hover it.
I want this :
by the way, how wan i add the separation line like on the photo ?
my website: utopia-paris.fr
thanks !!
Hey @UTOPIA-PARIS
Follow these Steps:
1) Go to Online Store
2) Edit Code
3) Find theme.liquid file
4) Add the following code in the bottom of the file above </body> tag
<style>
@media screen and (min-width: 768px) {
.header__icon font:hover {
text-decoration: underline !important;
}
.header__icon {
padding-top: 20px !important;
}
.header__icon .svg-wrapper {
border-right: solid 1px black;
padding-right: 10px;
}
a#cart-icon-bubble {
padding-left: 10px !important;
}
}
</style>
RESULT:
If I managed to help you then, don't forget to Like it and Mark it as Solution!
Best Regards,
Moeed
hey ! thanks for the answer but it doesn't work :
Discover how to increase customer engagement on your store with articles from Shopify A...
By Jacqui Apr 23, 2025Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025