Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

Re: How to change bottom position on dawn theme mobile

Solved

How to change bottom position on dawn theme mobile

yvad101
Excursionist
18 0 11

Hello, I'm trying to move the button location on the image banner to bottom center for mobile. Please help. I'm using the dawn theme. 

Accepted Solution (1)
Zworthkey
Shopify Partner
5581 641 1583

This is an accepted solution.

@yvad101 

@media screen and (max-width: 749px){
.banner__box.content-container.content-container--full-width-mobile.color-background-1 {
    margin-top: 240px !important;
}
}

1. Navigate to Online Store->Theme->Edit code
2. Asset->/section-image-banner.css ->paste Above code at the bottom of the file.
3. Save it.

View solution in original post

Replies 10 (10)

Zworthkey
Shopify Partner
5581 641 1583

@yvad101 


Welcome to the Shopify community!
Thanks for your good question.


Please share your store URL.
So that I will check and let you know the exact solution here.

yvad101
Excursionist
18 0 11

Here is the link to my store:

Byrani.com

Here's what I want to change:

1. I want to move the location of both buttons on the banner image from center to bottom center for mobile.

2. I want to decrease the padding of booth buttons to make them small and more proportionate to the image on mobile.

Thanks in advance for your help. 

 

 

KetanKumar
Shopify Partner
37634 3670 12166

@yvad101 

Sorry you are facing this issue, it would be my pleasure to help you.

Welcome to the Shopify community!😊
Thanks for your good question.

Please share your site URL,
I will check out the issue and provide you a solution here.

If helpful then please Like and Accept Solution. Partnership of your ️ Coffee Tips and my code can bring miracles.
Want to modify or custom changes on store Hire Me.
- Feel free to contact me on bamaniyaketan.sky@gmail.com regarding any help Shopify Partner | Skype : bamaniya.sky
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing
yvad101
Excursionist
18 0 11

Here is the link to my store:

Byrani.com

Here's what I want to change:

1. I want to move the location of both buttons on the banner image from center to bottom center for mobile.

2. I want to decrease the padding of booth buttons to make them small and more proportionate to the image on mobile.

Thanks in advance for your help. 

Zworthkey
Shopify Partner
5581 641 1583

This is an accepted solution.

@yvad101 

@media screen and (max-width: 749px){
.banner__box.content-container.content-container--full-width-mobile.color-background-1 {
    margin-top: 240px !important;
}
}

1. Navigate to Online Store->Theme->Edit code
2. Asset->/section-image-banner.css ->paste Above code at the bottom of the file.
3. Save it.

yvad101
Excursionist
18 0 11

Thank you for you help. I was able to move the button.

How can I now reduce the button size? That was the second part of the issue I was having. 

 

Zworthkey
Shopify Partner
5581 641 1583

@yvad101 

 

@media screen and (max-width: 749px){
.banner--content-align-mobile-center .banner__buttons--multiple>* {
    flex-grow: 1;
    min-width: -5rem;
    width: 152px !important;
}
}

Add this code in the bottom of the section-image-banner.css file.

 

yvad101
Excursionist
18 0 11

@Zworthkey 

Unfortunately that didn't work. 

 

KetanKumar
Shopify Partner
37634 3670 12166

@yvad101 

oh sorry for that issue can you please show me error

If helpful then please Like and Accept Solution. Partnership of your ️ Coffee Tips and my code can bring miracles.
Want to modify or custom changes on store Hire Me.
- Feel free to contact me on bamaniyaketan.sky@gmail.com regarding any help Shopify Partner | Skype : bamaniya.sky
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing
KetanKumar
Shopify Partner
37634 3670 12166

@yvad101 

thanks for details can you try this code

1. Go to Online Store->Theme->Edit code
2. Asset->/base.css ->paste below code at the bottom of the file.

.banner--desktop-transparent .banner__box {padding: 0!important;}
.banner__content {padding: 30px !important;align-items: end !important;}

 

If helpful then please Like and Accept Solution. Partnership of your ️ Coffee Tips and my code can bring miracles.
Want to modify or custom changes on store Hire Me.
- Feel free to contact me on bamaniyaketan.sky@gmail.com regarding any help Shopify Partner | Skype : bamaniya.sky
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing