Hi,
How can i get the mobile shop now button to appear bottom centre?
A user seeks help positioning the “Shop Now” button at the bottom center on mobile devices for their Shopify store using the Taste theme.
Multiple solutions provided:
Custom CSS approach (most common): Add CSS code targeting mobile screens (max-width: 749px or 768px) to adjust button positioning using margin-top or margin-bottom properties. Code should be added via:
Theme.liquid modification: Insert custom markup/styling code above the </body> tag in the theme.liquid file
Technical details:
.slideshow__text, .banner__buttons, and .button--primaryStatus: Multiple working solutions offered; awaiting user confirmation on which approach resolved the issue.
Hey @lisanchem
Follow these Steps:
Go to Online Store
Edit Code
Find theme.liquid file
Add the following code in the bottom of the file above tag
RESULT:
If I managed to help you then, don’t forget to Like it and Mark it as Solution!
Best Regards,
Moeed
Hello @lisanchem
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: 749px) {
a.button.button--primary {
top: 8rem;
}
}
result
If this was helpful, hit the like button and accept the solution.
Thanks
Hi @lisanchem
You can do that by adding this code to Custom CSS in Online Store > Themes > Customize > Theme settings.
#Slide-template--22121568567480__slideshow_y4eJmU-2 .slideshow__text.banner__box {
margin-top: 20rem;
}
Hi @lisanchem
I hope you are well. You can follow our instructions below:
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/iDxwa8zBQ4Z-
Step 3: Copy the code below and paste it there
Here is the code for Step 3:
@media screen and (max-width: 768px){
.slideshow__text-wrapper .slideshow__text > .banner__buttons {
margin-bottom: -30px !important;
}
}
Please let me know if it works. Thank you so much!
Best,
Daisy - Avada Support Team.