Make the arrow icon appear only when the mouse is over it

Solved

Make the arrow icon appear only when the mouse is over it

ArnauP
Explorer
52 3 9

I would like to make the arrow icon appear only when the mouse is over it.

 

www.JaccomCollection.com

 

This is what i have now:

ArnauP_4-1726237603357.png

 

 

This is what i want to look like when i have the mouse in a title (in this case in "Travel"):

ArnauP_3-1726237580760.png

 

 

Thanks You

Accepted Solution (1)

BSSCommerce-B2B
Shopify Partner
1723 513 576

This is an accepted solution.

@ArnauP ,

Step 1: Go to Shopify Admin -> Online Store ->Theme -> Edit code

Step 2: Search file theme.liquid

Step 3: Insert this code above </head> tag:

 

<style>
.menu-drawer__menu  details svg {
  opacity: 0;
}
.menu-drawer__menu details:hover svg {
   opacity: 1;
}
</style>

 

Result:

BSSCommerceB2B_0-1726237953317.png

If it helps you, please like and mark it as the solution.

Best Regards 😊

B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.


B2B Portal, Quote, Net 30: Speed up purchasing and streamline your quotation process with advanced features like quick order, request for quote.


B2B Lock Password Protect: Easily control access to pages, products, and pricing with robust features.


BSS Commerce - Full-service eCommerce Agency I Use Shopify for 1$ in the first month now

View solution in original post

Replies 3 (3)

websensepro
Shopify Partner
1220 136 156

Hi @ArnauP , 

1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file
3. In theme.liquid, paste the below code before </head>

 

 

<style>
.menu-drawer__menu-item>.icon-arrow {
    display: none !important;
}

.menu-drawer__menu-item:hover svg.icon.icon-arrow {
    display: block !important;
}
</style>

 

If my reply is helpful, kindly click like and mark it as an accepted solution.

Thanks!

Need a Shopify developer?
Hire us at WebSensePro
For Shopify Design Changes | Shopify Custom Coding | Custom Modifications
Subscribe to our youtube channel or buy us a Cofee here

Free Shopify Beginner Tutorial

BSS-TekLabs
Shopify Partner
2350 701 826

- Here is the solution for you @ArnauP 
- Please follow these steps:
1. Go to Online Store --> Theme --> Edit code.
2. Open your theme.liquid file
3. In theme.liquid, paste the below code before </head> and press 'Save' to save it

<style>
.menu-drawer__menu-item:hover svg.icon.icon-arrow {
    display: block !important;
}
.menu-drawer__menu-item>.icon-arrow {
    display: none !important;
}
</style>

 

- Please press 'Like' and mark it as 'Solution' if you find it helpful. Thank you.

If our suggestions are useful, please let us know by giving it a like or marking it as a solution.


Salepify: Efficiently increase sales conversion with sale-driven features like auto add to cart, free gifts (free plan available)


Salemate: Boost your AVO with 2-layer offer, countdown upsell in your post purchase page


BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now

BSSCommerce-B2B
Shopify Partner
1723 513 576

This is an accepted solution.

@ArnauP ,

Step 1: Go to Shopify Admin -> Online Store ->Theme -> Edit code

Step 2: Search file theme.liquid

Step 3: Insert this code above </head> tag:

 

<style>
.menu-drawer__menu  details svg {
  opacity: 0;
}
.menu-drawer__menu details:hover svg {
   opacity: 1;
}
</style>

 

Result:

BSSCommerceB2B_0-1726237953317.png

If it helps you, please like and mark it as the solution.

Best Regards 😊

B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.


B2B Portal, Quote, Net 30: Speed up purchasing and streamline your quotation process with advanced features like quick order, request for quote.


B2B Lock Password Protect: Easily control access to pages, products, and pricing with robust features.


BSS Commerce - Full-service eCommerce Agency I Use Shopify for 1$ in the first month now