Hey guys, so I have this big space in the mobile version after the image with text, what can I do. Can you please help?
Hello There,
Please share your store URL and Password.
So that I will check and let you know the exact solution here.
Thank you!
Please add the following CSS code to your assets/theme.css bottom of the file.
@media only screen and (max-width: 589px){
.animation-cropper {
overflow: hidden;
display: block;
width: 100%;
text-align: center;
}
.background-media-text__text {
margin: 0 auto !important;
text-align: center !important;
}
}
Thanks!
Do you want to add text on that space?
Hello There,
- In your Shopify Admin go to online store > themes > actions > edit code
- Find Asset >theme.scss.css and paste this at the bottom of the file:
.background-media-text .animation-cropper {
width: 10;
display: block;
width: 100%;
text-align: center;
}
.background-media-text .animation-cropper .background-media-text__text {
text-align: center;
}
so there is still a gap in the mobile version, smaller for sure, and for desktop, it places on the top left, different from the initial right-hand side to match with the ad.
so in the mobile version, there is a big gap which I try to remove by extending the button or just not to look like this. In the desktop version the image is slightly cut in the lower part and I am trying to fit in.
thank you for trying to help ![]()
Solution for desktop
Please add the following CSS code to your assets/theme.css bottom of the file.
@media only screen and (min-width: 590px){
.background-media-text--right .animation-cropper {
float: left !important;
}
}
Solution for mobile
@media only screen and (max-width: 589px){
.background-media-text__aligner {
margin: -40px -11px 0px !important;
}
}
with the last solution is back to the initial error
Try this code for mobile
@media only screen and (max-width: 589px){
.background-media-text__aligner {
margin: -40px -11px 0px !important;
}
.animation-cropper {
display: block !important;
}
.background-media-text__text {
margin: 0 auto !important;
text-align: center;
}
}
@dmwwebartisan thank youuuuuu! it works for the mobile
Solution for desktop .
Please add the following CSS code to your assets/theme.css bottom of the file.
@media only screen and (min-width: 590px){
.background-media-text--right .animation-cropper {
float: left !important;
}
}
Thanks!
unfortunately, this doesn’t work. it just put the button on the left, however, I nailed it from editor mode.
Thank you so much for the mobile version.






