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

I have two questions:

  1. How to remove the animations of all buttons? The theme is Yuva.
  2. How to change the vertical spacing of the navigation bar? Now it seems very crowded.

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

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
  1. Below code is for vertical spacing of the navigation bar
.nav__header ul.navbar-nav.list-menu--inline { padding: 10px 0;}
  1. remove the animations of all buttons
.button:hover {color: #fff;}
.button::before, .button::after {background-color: transparent;}

I tried your method, but it didn’t work. The added code was directly displayed.

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; }

Replace below code


1 Like

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 tag


Result:

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.

1 Like

It worked. Thank you very much.

1 Like