Hi all,
please see screenshot, Is there a way to move the cta button to the bottom of image and the heading to the top of image please? Just on mobile, not desktop.
Website - https://smoothervibes.com/
Thank you
A user needed help repositioning elements in a mobile image banner on their Shopify store (smoothervibes.com). Specifically, they wanted to move the CTA button to the bottom and the heading to the top of the image—only on mobile devices, not desktop.
Solution provided:
flex-direction: column and justify-content: space-between to the .banner__box classOutcome:
The solution was confirmed successful by the original poster. Screenshots were shared showing the before state and the CSS implementation.
Hi all,
please see screenshot, Is there a way to move the cta button to the bottom of image and the heading to the top of image please? Just on mobile, not desktop.
Website - https://smoothervibes.com/
Thank you
Add this CSS to the Custom CSS area of that section:
@media screen and (width < 750px) {
.banner__box {
display: flex;
flex-direction: column;
justify-content: space-between;
height: 100%;
}
}
Legend, thank you