How to align text to width ? topic sense

Hi help please
How to align text to width ? topic sense

Hey @ruderos

Can you elaborate your issue a little properly so I can help you?

Best Regards,

Moeed

Look how my text is aligned ! And I want it to be width-aligned

Hello @ruderos ,

Could you please provide the URL/ password to your store so that I can check it and provide you with the exact solution?

https://dakunh-g0.myshopify.com/
mohshi

Hello @ruderos ,

Here are the steps to apply the necessary changes in your Shopify store:

  1. In your Shopify Admin, navigate to Online Store > Themes > Actions > Edit Code.
  2. Locate Asset > base.css and paste the following code at the bottom of the file:
@media screen and (max-width:768px){
.image-with-text__text.rte.body h5 {
    text-align: justify !important;
}
.rich-text__text.rte.scroll-trigger.animate--slide-in h5 {
    text-align: justify !important;
}
}

Let me know if you need further assistance!

I put in the code, but nothing changed.

It worked! Can you please give me the code to do it here too?

Hello @ruderos ,

Try adding the code in the theme.liquid file under the tag and within the tag.

Hello @ruderos,

Here are the steps to apply the necessary changes in your Shopify store:

  1. In your Shopify Admin, navigate to Online Store > Themes > Actions > Edit Code.
  2. Locate Asset > base.css and paste the following code at the bottom of the file:
@media screen and (max-width:768px){
.rte h5 {
    text-align: justify !important;
}
}

Copy

Let me know if you need further assistance!

Thanks my bruh