Shopify themes, liquid, logos, and UX
There's too much white space above and below the buttons on mobile view. How can I reduce this padding. Also, how can I make this button slightly smaller for mobile.
On desktop everything looks fine.
I don't know how to make responsive image banners that change for mobile view so for now I will just make the buttons smaller.
Solved! Go to the solution
This is an accepted solution.
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 above the </head> tag
<style>
@media screen and (max-width: 749px) {
.banner--mobile-bottom .banner__box{
padding: 2rem 3.5rem !important;
}
.banner__buttons .button{
font-size: 1.2rem !important;
}
}
</style>
Hopefully it will help you. If yes then Please don't forget hit Like and Mark it as solution!
This is an accepted solution.
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 above the </head> tag
<style>
@media screen and (max-width: 749px) {
.banner--mobile-bottom .banner__box{
padding: 2rem 3.5rem !important;
}
.banner__buttons .button{
font-size: 1.2rem !important;
}
}
</style>
Hopefully it will help you. If yes then Please don't forget hit Like and Mark it as solution!
Awesome! It worked!
Hey Community! As we jump into 2025, we want to give a big shout-out to all of you wh...
By JasonH Jan 7, 2025Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024