homepage design mobile phone

Solved

homepage design mobile phone

sahar5
Excursionist
27 0 4

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, SaharIMG_4664.PNG

Accepted Solution (1)

GTLOfficial
Shopify Partner
880 182 193

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
34.png


If this was helpful, hit the like button and accept the solution.
Thanks

- Buy me a Pizza
- If helpful then please Like and Accept Solution.
- Want to modify or custom changes or bug fix on the store Hire me. GTL web solutions
- Want Complete Storefront: Send an email ⇨- Email: info@gtlofficial.com - Skype: ritesh_27dh

View solution in original post

Replies 4 (4)

Emre_SecretHero
Shopify Partner
28 2 2

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!

- Helpful? Like & Accept the solution!
-  SecretHero: Boost Shopify store sales & loyalty through gamified experiences with the power of mobile games.
-  Launching in June! Subscribe now on our waitlist for early access.
- Questions? Reach me at serhat@secrethero.io or LinkedIn: Serhat Emre Cebeci

Beast_Boy
Shopify Partner
41 0 0

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!

 

If this fixed your issue, a like and marking it solved will mean a lot to me.
I am a Shopify Specialist | Focused on helping eCommerce stores Grow - Maven
Need help with your store design or optimization, need to increase sales, support in marketing ? Let me assist..
Contact : uxmavenonline@gmail.com

Dan-From-Ryviu
Shopify Partner
11974 2341 2520

Please add this code to Custom CSS of that section in theme customize

.banner__buttons .button {
    min-width: 16rem;
}

Screenshot 2025-05-13 at 09.33.36.png

- 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.

GTLOfficial
Shopify Partner
880 182 193

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
34.png


If this was helpful, hit the like button and accept the solution.
Thanks

- Buy me a Pizza
- If helpful then please Like and Accept Solution.
- Want to modify or custom changes or bug fix on the store Hire me. GTL web solutions
- Want Complete Storefront: Send an email ⇨- Email: info@gtlofficial.com - Skype: ritesh_27dh