I have two questions:
- How to remove the animations of all buttons? The theme is Yuva.
- How to change the vertical spacing of the navigation bar? Now it seems very crowded.
Store URL if needed: 5c252b-bc.myshopify.com
A user sought help removing button animations and adjusting navigation bar spacing in the Yuva theme.
Initial Solutions Attempted:
</head> tagWorking Solution:
Multiple contributors provided alternative approaches:
<style> tags when inserting into theme.liquidKey CSS fixes included:
.button:before { transition: unset !important; }.nav-item .nav-linkResolution: User confirmed one of the solutions worked successfully. The issue stemmed from improper code implementation rather than incorrect CSS—the code needed to be wrapped in <style> tags or added through the theme customizer’s CSS section.
I have two questions:
Store URL if needed: 5c252b-bc.myshopify.com
Hello OneChefOn,
.nav__header ul.navbar-nav.list-menu--inline { padding: 10px 0;}
.button:hover {color: #fff;}
.button::before, .button::after {background-color: transparent;}
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
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.
It worked. Thank you very much.