We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more

How can I remove animation of all buttons? (theme Yuva)

Solved

How can I remove animation of all buttons? (theme Yuva)

OneChefOn
Explorer
67 0 13

I have two questions: 
1. How to remove the animations of all buttons? The theme is Yuva.
2. How to c
hange the vertical spacing of the navigation bar? Now it seems very crowded.

OneChefOn_0-1750228037930.png

Store URL if needed: 5c252b-bc.myshopify.com

 

Accepted Solution (1)
Dkpatel
Shopify Partner
28 1 1

This is an accepted solution.

 

Replace below code
 
<style>
.nav__header ul.navbar-nav.list-menu--inline { padding: 15px 0;}
.button:hover {color: #fff;}
.button::before, .button::after {background-color: transparent;}
</style>
 
If you found my post helpful, please give it a thumbs up — it helps others with similar questions find the solution more easily.
Feel free to reach out via email: dkpatel2431@gmail.com

View solution in original post

Replies 6 (6)

Dkpatel
Shopify Partner
28 1 1

Hello OneChefOn,

 

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

 

 1) Below code is for  vertical spacing of the navigation bar

 
.nav__header ul.navbar-nav.list-menu--inline { padding: 10px 0;}

 

2) remove the animations of all buttons
.button:hover {color: #fff;}
.button::before, .button::after {background-color: transparent;}

 
If you found my post helpful, please give it a thumbs up — it helps others with similar questions find the solution more easily.
Feel free to reach out via email: dkpatel2431@gmail.com
OneChefOn
Explorer
67 0 13

I tried your method, but it didn't work. The added code was directly displayed. OneChefOn_0-1750229263119.png

OneChefOn_1-1750229318060.png

 

Dkpatel
Shopify Partner
28 1 1

This is an accepted solution.

 

Replace below code
 
<style>
.nav__header ul.navbar-nav.list-menu--inline { padding: 15px 0;}
.button:hover {color: #fff;}
.button::before, .button::after {background-color: transparent;}
</style>
 
If you found my post helpful, please give it a thumbs up — it helps others with similar questions find the solution more easily.
Feel free to reach out via email: dkpatel2431@gmail.com
OneChefOn
Explorer
67 0 13

It worked. Thank you very much.

Dan-From-Ryviu
Shopify Partner
12073 2359 2539

Hi @OneChefOn 

Please add this code to Custom CSS in Sales channels > Online Store > Themes > Customize > Theme settings to remove animation and add more vertical space for your menu.

.button,
.button:before { transition: unset !important; }
html .header_2 .nav-item .nav-link, 
html .header_4 .nav-item .nav-link { padding: 12px 30px 12px 0; }

 

- Helpful? Like & Accept solution!
- Ryviu - Product Reviews & QA app: Collect customer reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image - Gain customers with photo gallery, video & shoppable image.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.

AnneLuo
Shopify Partner
1381 240 281

You can try this code by following these steps:
Step 1: Go to the online store ->Theme ->Edit Code.
Step 2: Find the theme.liquid file and add the following code before the </head> tag

<style>
.navbar.navbar-expand-md {
  padding: 20px 0 !important;
}
</style>

Result:

AnneLuo_0-1750230394746.png

 

Hope this helps! If yes then Please don't forget hit Like and Mark it as solution!
If you will unable to implement the same then I'm happy to do this for you, let me know.

If this is helpful, please Like and Accept the solution.
Want to modify or custom changes on store? Let me help.
- Feel free to Email Me   

Buy Me A Coffee