Solved

Image with text, change text width only on mobile

Steven48
Visitor
2 0 0

Hi, I am trying to make just the text portion of the image with text section on mobile wider than it currently is. I have circled the part that i am trying to change in the image. The website is here.Screenshot 2024-01-10 111112.png

Accepted Solution (1)

Moeed
Shopify Partner
3538 891 1106

This is an accepted solution.

Hey @Steven48 

 

Follow these Steps:

1) Go to Online Store
2) Edit Code
3) Find theme.liquid file

4) Add the following code in the bottom of the file above </body> tag

<style>
@media screen and (max-width: 767px) {
.image-with-text--overlap .image-with-text__content {
    padding-left: 0 !important;
    padding-right: 0 !important;
}
}
</style>

RESULT:

Moeed_0-1704907313176.png

 

If I managed to help you then, don't forget to Like it and Mark it as Solution!

 

Best Regards,
Moeed

Need a Shopify developer? Chat on WhatsApp


- For Shopify Design Changes | Shopify Custom Coding | Custom Modifications
- Your Coffee Tip and my code, A perfect blend. ❤️
Canva to Shopify in clicks - Free App

View solution in original post

Replies 3 (3)

Moeed
Shopify Partner
3538 891 1106

This is an accepted solution.

Hey @Steven48 

 

Follow these Steps:

1) Go to Online Store
2) Edit Code
3) Find theme.liquid file

4) Add the following code in the bottom of the file above </body> tag

<style>
@media screen and (max-width: 767px) {
.image-with-text--overlap .image-with-text__content {
    padding-left: 0 !important;
    padding-right: 0 !important;
}
}
</style>

RESULT:

Moeed_0-1704907313176.png

 

If I managed to help you then, don't forget to Like it and Mark it as Solution!

 

Best Regards,
Moeed

Need a Shopify developer? Chat on WhatsApp


- For Shopify Design Changes | Shopify Custom Coding | Custom Modifications
- Your Coffee Tip and my code, A perfect blend. ❤️
Canva to Shopify in clicks - Free App
Steven48
Visitor
2 0 0

Worked great, thanks!

Moeed
Shopify Partner
3538 891 1106

Thank you for your reply. I'm glad to hear that the solution worked well for you. If you require any more help, please don't hesitate to reach out. If you find this information useful, a Like would be greatly appreciated.

Need a Shopify developer? Chat on WhatsApp


- For Shopify Design Changes | Shopify Custom Coding | Custom Modifications
- Your Coffee Tip and my code, A perfect blend. ❤️
Canva to Shopify in clicks - Free App