Hello some text is centered some is left aligned in image with text-text. How do I center it
Hi @needelp ,
Here is result:
Hope this can help you,
If our suggestions are useful, please let us know by giving it a like or marking it as a solution. Thank you ![]()
Thanks where do I put it?
Hi @needelp ,
- Go to Online Store β Theme β Edit code.
- Open your theme.liquid file
- In theme.liquid, paste the below code before
If my reply is helpful, kindly click like and mark it as an accepted solution.
Thanks!
Hi @needelp , You can try:
Step 1: Go to Shopify Admin β Online Store ->Theme β Edit code
Step 2: Search file theme.liquid
Step 3: Insert that code above tag
Hi @needelp
Check this one.
From you Admin page, go to Online Store > Themes
Select the theme you want to edit
Under the Asset folder, open the main.css(base.css, style.css or theme.css)
Then place the code below at the very bottom of the file.
@media only screen and (max-width: 749px){
.image-with-text__text.rte.body {
text-align: center;
}
h2.image-with-text__heading.inline-richtext.h2 {
align-self: center
}
}
And Save.
Result:
Please donβt forget to Like and Mark Solution to the post that helped you. Thanks!


