Shopify themes, liquid, logos, and UX
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
Solved! Go to the solution
This is an accepted solution.
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
Hi @astilbe
PLease, share your store URL. Thanks!
Thanks for te info, try this one.
@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
This is an accepted solution.
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
Thank you so much, this one worked
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
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