Shopify themes, liquid, logos, and UX
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
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
Solved! Go to the solution
This is an accepted solution.
<style>
.nav__header ul.navbar-nav.list-menu--inline { padding: 15px 0;}
.button:hover {color: #fff;}
.button::before, .button::after {background-color: transparent;}
</style>
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;}
.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.
This is an accepted solution.
<style>
.nav__header ul.navbar-nav.list-menu--inline { padding: 15px 0;}
.button:hover {color: #fff;}
.button::before, .button::after {background-color: transparent;}
</style>
It worked. Thank you very much.
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.
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:
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.