How do i move the 'shop now' button down on my image for mobile only?

Hello, is anyone able to help me with this issue please? My ‘shop now’ button on mobile stays in the centre of the image, however, i want it to be at the bottom so it does not cover the text on the image. I saw a code from another question but it did not work.

Thank you for your help

Hi @astilbe

PLease, share your store URL. Thanks!

Hello, it is

https://astilbeandrose.co.uk/

thank you

Thanks for te info, try this one.

  1. From your Shopify admin dashboard, click on “Online Store” and then “Themes”.
  2. Find the theme that you want to edit and click on “Actions” and then “Edit code”.
  3. In the “Assets” folder, click on “base.css, style.css or theme.css” file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:
@media only screen and (max-width: 749px){
.banner__box.content-container {
    align-self: flex-end !important;
}
}

Your Feedback Matters! Please mark the solution and give likes to posts that helped you. Your appreciation fuels our motivation to assist you better!

Hi @astilbe

You can follow the instruction here :

  1. Go to Shopify > Online store > theme > customize

  2. Click to Settings > Custom CSS > Paste this code to the section and save. https://prnt.sc/Rl66N9K_Bjvs

@media (max-width: 749px) {
    #shopify-section-template--18519066018035__image_banner .banner__box {
        align-self: flex-end;
    }
}

Result:

If you have any question, feel free to ask me.

Esther

Hi @astilbe ,

You can follow the steps here:

Step 1: Shopify admin > Online store > Customize: https://prnt.sc/XQ6IDB99kUCd
Step 2: From the left menu > Theme settings > Open Custom CSS: https://prnt.sc/ypQ7nly2wv27
Step 3: Copy the code below and paste it there

Here is the code for step 3:

@media screen and (max-width: 768px){
.banner__content {
    align-items: end !important;
}
}

Here is the result:

Please let me know if it works!

Best,

Daisy

Hello @astilbe
Go to online store ----> themes ----> actions ----> edit code ---->base.css
add this code at the end of the file and save.

@media screen and (max-width: 768px) {
.button.button--primary {
top: 18rem !important;
}

result

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

Thank you so much, this one worked