Myras
March 15, 2022, 4:37pm
1
Hi everyone,
I need some help to change the code of my website, in order to justify the text on all my pages. Especially, on “media with text” sections.
Does enyone know how to change the code to have text blocs with justify text please ?
Thank you for your help !
@Myras ,
Share the store url with screenshot.
Hi @Myras ,
‘Justify Text’: What does it mean? Please send me screenshot with description and site password. I will help you check it
Myras
March 16, 2022, 8:41am
4
Hi,
Thank you very much for your help !
Justify, like perfectly lined up text at edge, currently it is not the case on the site.
Please see below :
I found some code on the internet like below, but I don"t know where to insert them as the concerned text are on “media with text” bloc.
text-align: justify; text-justify: inter-word; text-align-last: center;
The site password is : theayu
Myras
March 16, 2022, 8:43am
5
Hi,
Thank you very much for your help !
Justify, like perfectly lined up text at edge, currently it is not the case on the site.
Please see below :
I found some code on the internet like below, but I don"t know where to insert them as the concerned text are on “media with text” bloc.
text-align: justify; text-justify: inter-word; text-align-last: center;
The site password is : theayu
Myras
March 16, 2022, 9:07am
7
Sorry !!! Thought I gave it before :
https://www.myras-shop.fr/
password : theayu
@Myras ,
On which page do you want modification?
Hi @Myras ,
Go to Assets > styles.css and paste this at the bottom of the file:
.image-with-text .image-with-text__text .rte {
text-align: left !important;
}
Hope it helps!
Myras
March 17, 2022, 9:02am
11
Hi,
I wanted to do this modification on “Media with text” section in different pages.
Myras
March 17, 2022, 9:03am
12
Will check this, thank you so much for your help !
Myras
March 17, 2022, 9:12am
13
Hi @LitExtension ,
Thank you very much for your help again and the this code, it works !
I just replaced the word “left” on your code by “justify” and it work as I wanted ! Perfectly lined up both at the left and the right of the text bloc.
Thank you and have a nice day !!
Hello. How come I cannot find this styles.css?
Please see below.
Hi @PeanutJr ,
You can create a question on the community and send me the link. I will check it.
Because this will help build a better community.
Thank you.