Hello,
How do i add text under a the cart or search or customer icon in the when hovering the mouse over it
. I have attached an example picture from another store.
Thanks in Advance
A user wants to add hover text labels beneath cart, search, and customer icons in their Shopify store header.
Proposed Solution:
::after pseudo-element with hover state.icon-cart:hover::after with custom content, positioning, and stylingImplementation Steps:
Current Status:
Another user is struggling to locate the correct file for implementation and has requested additional assistance. The discussion remains open with an offer from the solution provider to implement the changes directly if needed.
Hello,
How do i add text under a the cart or search or customer icon in the when hovering the mouse over it
Thanks in Advance
Hi @Ronaldh Please add the code in your theme.css/base.css/style.css file which is available in your theme.
.icon-cart:hover::after {
content: Your title is here;
position: absolute;
background: #333;
color: #fff;
padding: 5px;
border-radius: 5px;
z-index: 999;
}
If you are not sure where is your theme.css/base.css/index.css/style.css file please follow the steps:
If you will unable to implement the same then I’m happy to do this for you, let me know. I can implement the code changes so that this will work well for you.
Hopefully it will help you. If yes then Please don’t forget hit Like and Mark it as solution!
Best Regards
Sahil
Hello, i am trying to find this code but im not sure where to search for this, would it be possible to help me out with this?