How to change button position for mobile version only?

Solved

How to change button position for mobile version only?

nothingchanges
Excursionist
44 0 10

Hi guys! How to change button position for mobile version only?

 

 

https://yiwqh6-vk.myshopify.com/

Accepted Solution (1)
shreyhweb
Shopify Partner
709 118 133

This is an accepted solution.

<style>
@media screen and (max-width: 749px) {
    .slideshow__text-wrapper {
      align-items: end!important;
    }
    .banner__buttons .button:after {
     box-shadow:0 0 0 calc(var(--buttons-border-width) + var(--border-offset)) rgb(255 255 255), 0 0 0 var(--buttons-border-width) rgba(var(--color-button), var(--alpha-button-background))!important;
    }
}
</style>

 

Please replace the whole given code with above code.

Thank you

- If You Find Our Solution Helpful Please Like And Mark As Accepted!
- Sip, savor, and support – your Coffee Tip helps us keep coding.❤️
- If You Want To Further Discussion. Then Contact - info@shreyhsoftsolutions.com

View solution in original post

Replies 7 (7)

shreyhweb
Shopify Partner
709 118 133

Can you please explain me by screenshot? Then we will able to help you.

- If You Find Our Solution Helpful Please Like And Mark As Accepted!
- Sip, savor, and support – your Coffee Tip helps us keep coding.❤️
- If You Want To Further Discussion. Then Contact - info@shreyhsoftsolutions.com
nothingchanges
Excursionist
44 0 10

I would like to move down the button abit more for mobile view. Could you help me to change the box "shop now" outline into white too please. Your help very much appreciated.

 

Screenshot 2024-12-29 at 5.02.47 AM.png

shreyhweb
Shopify Partner
709 118 133

You can add the below code in theme.liquid above </body>.

 

<style>
@media screen and (max-width: 749px) {
    .slideshow__text-wrapper {
      align-items: end!important;
    }
    .banner__buttons .button {
     color: #000!important;
     background: #fff!important;
    }
}
</style>

 

Screenshot:

shreyhweb_0-1735420652280.png

 

I hope solution will be useful for you. If it's works then please like the solution and accept it.

Thank you

- If You Find Our Solution Helpful Please Like And Mark As Accepted!
- Sip, savor, and support – your Coffee Tip helps us keep coding.❤️
- If You Want To Further Discussion. Then Contact - info@shreyhsoftsolutions.com
nothingchanges
Excursionist
44 0 10

Thank you! But could you help me do only the letter and outline white. No fill please. Thanks in advance.

shreyhweb
Shopify Partner
709 118 133

This is an accepted solution.

<style>
@media screen and (max-width: 749px) {
    .slideshow__text-wrapper {
      align-items: end!important;
    }
    .banner__buttons .button:after {
     box-shadow:0 0 0 calc(var(--buttons-border-width) + var(--border-offset)) rgb(255 255 255), 0 0 0 var(--buttons-border-width) rgba(var(--color-button), var(--alpha-button-background))!important;
    }
}
</style>

 

Please replace the whole given code with above code.

Thank you

- If You Find Our Solution Helpful Please Like And Mark As Accepted!
- Sip, savor, and support – your Coffee Tip helps us keep coding.❤️
- If You Want To Further Discussion. Then Contact - info@shreyhsoftsolutions.com
nothingchanges
Excursionist
44 0 10

You're a genius! Thank you!

shreyhweb
Shopify Partner
709 118 133

Welcome always for help.

Thank you

- If You Find Our Solution Helpful Please Like And Mark As Accepted!
- Sip, savor, and support – your Coffee Tip helps us keep coding.❤️
- If You Want To Further Discussion. Then Contact - info@shreyhsoftsolutions.com