Shopify themes, liquid, logos, and UX
Hi, I want the two buttons on the mobile phone be like the homepage on my laptop. Women should be left and men on the right. How can I change that?
here you can find an screenshot.
My theme is dawn and my website is: www.sahar-fashion.com
kind regards, Sahar
Solved! Go to the solution
This is an accepted solution.
Hello @sahar5
Go to online store ----> themes ----> actions ----> edit code ----> assets ----> section-image-banner.css
add this code at the end of the file and save.
@media screen and (max-width: 749px) {
.banner--content-align-mobile-center .banner__buttons--multiple > * {
min-width: 16rem;
}
.banner__buttons {
display: inline-flex;
flex-wrap: unset;
}
}
result
If this was helpful, hit the like button and accept the solution.
Thanks
Hi @sahar5,
To fix it, here is my solution:
Go to:
Themes -> Actions -> Edit code -> Assets -> base.css. And scroll down to the bottom and paste this code:
@media screen and (max-width: 749px) { .banner__buttons--multiple { display: flex !important; flex-direction: row !important; justify-content: center; gap: 12px; } .banner__buttons--multiple > a { min-width: auto !important; flex: 1 1 0%; text-align: center; } }
Hope it helps.
Good Luck!
Hi Sahar
To swap your buttons on mobile, go to to Online Store > Themes > Edit code and open your theme’s main CSS file (usually under assets).
Scroll to the bottom and add a mobile-only style that treats your button group as a flexible row. Then set “Women” to appear first and “Men” second when the screen is narrow.
Save your changes, refresh your site on a phone, and you’ll see the buttons flip into the right spots, same same on desktop!
Please add this code to Custom CSS of that section in theme customize
.banner__buttons .button {
min-width: 16rem;
}
- Helpful? Like & Accept solution! - Support me? Buy me a coffee
- 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.
This is an accepted solution.
Hello @sahar5
Go to online store ----> themes ----> actions ----> edit code ----> assets ----> section-image-banner.css
add this code at the end of the file and save.
@media screen and (max-width: 749px) {
.banner--content-align-mobile-center .banner__buttons--multiple > * {
min-width: 16rem;
}
.banner__buttons {
display: inline-flex;
flex-wrap: unset;
}
}
result
If this was helpful, hit the like button and accept the solution.
Thanks
June brought summer energy to our community. Members jumped in with solutions, clicked ...
By JasonH Jun 5, 2025Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025