Shopify themes, liquid, logos, and UX
Hi, does anyone know how to adjust the text alignment for my image with text components on my shop. Currently theres alot of white space on the left, and I want the font to align nicely with the left, so that its directly underneath the left corner of the photos. I also want the font to continue all the way through. to the right edge so it aligns with the right side of the photos too. Thanks!
My store URL is: https://verterra.sg/password, password is VerterraTest123
Solved! Go to the solution
This is an accepted solution.
Hey @Verterra
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.collapse-corners:not(.image-with-text--overlap) .grid__item .image-with-text__content {
padding-left: 0 !important;
}
}
</style>
RESULT:
If I managed to help you then, don't forget to Like it and Mark it as Solution!
Best Regards,
Moeed
This is an accepted solution.
- Here is the solution for you @Verterra
- Please follow these steps:
- Then find the base.css file.
- Then add the following code at the end of the file and press 'Save' to save it.
@media screen and (max-width: 749px) {
.image-with-text.collapse-corners:not(.image-with-text--overlap) .grid__item .image-with-text__content {
padding-left: 0 !important;
padding-right: 0 !important;
}
}
- Here is the result you will achieve:
- Please press 'Like' and mark it as 'Solution' if you find it helpful. Thank you.
If our suggestions are useful, please let us know by giving it a like or marking it as a solution.
Salepify: Efficiently increase sales conversion with sale-driven features like auto add to cart, free gifts (free plan available)
Salemate: Boost your AVO with 2-layer offer, countdown upsell in your post purchase page
Hi @Verterra ,
Is this final result you want?
You can follow these steps
Step 1: Go to Online store > Themes > Edit code and find base.css file
Step 2: Insert below code at the end file and Save them
@media screen and (max-width: 749px) {
.image-with-text.collapse-corners:not(.image-with-text--overlap) .image-with-text__text-item:after, .image-with-text.collapse-corners:not(.image-with-text--overlap) .grid__item .image-with-text__content {
padding: 10px 0 !important;
}
}
If our suggestions are useful, please let us know by giving it a like, marking it as a solution.
MIDA: Heatmap, Record & Replay |BLOOP Referral Program, Reward |
Need help from our expert? Kindly share your request with us via community@bsscommerce.com
This is an accepted solution.
Hey @Verterra
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.collapse-corners:not(.image-with-text--overlap) .grid__item .image-with-text__content {
padding-left: 0 !important;
}
}
</style>
RESULT:
If I managed to help you then, don't forget to Like it and Mark it as Solution!
Best Regards,
Moeed
Thank you! This works too, just that I added padding-right: 0 as per the other solution so it would stretch across the screen.
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.
This is an accepted solution.
- Here is the solution for you @Verterra
- Please follow these steps:
- Then find the base.css file.
- Then add the following code at the end of the file and press 'Save' to save it.
@media screen and (max-width: 749px) {
.image-with-text.collapse-corners:not(.image-with-text--overlap) .grid__item .image-with-text__content {
padding-left: 0 !important;
padding-right: 0 !important;
}
}
- Here is the result you will achieve:
- Please press 'Like' and mark it as 'Solution' if you find it helpful. Thank you.
If our suggestions are useful, please let us know by giving it a like or marking it as a solution.
Salepify: Efficiently increase sales conversion with sale-driven features like auto add to cart, free gifts (free plan available)
Salemate: Boost your AVO with 2-layer offer, countdown upsell in your post purchase page
Thank you, this worked well for me! 🙂
No problem. If you need any help, just message me.
If our suggestions are useful, please let us know by giving it a like or marking it as a solution.
Salepify: Efficiently increase sales conversion with sale-driven features like auto add to cart, free gifts (free plan available)
Salemate: Boost your AVO with 2-layer offer, countdown upsell in your post purchase page
Hey Community! As we jump into 2025, we want to give a big shout-out to all of you wh...
By JasonH Jan 7, 2025Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024