- This topic has 11 replies, 2 voices, and was last updated 3 years, 3 months ago by
David.
-
AuthorPosts
-
February 5, 2023 at 5:21 am #2521996
Guy
Hello,
I have to justify a text in a page.
First I’ve added this CSS :
/* Classe CSS pour justifier mon texte dans l’éditeur Gutenberg */
.nc-justify-text {
text-align: justify;
}(Desktop : Personnaliser / CSS Additionnel)
Then on the page where I want my text justified :
Bloc : the name of the class, nc-justify-text.
It doesn’t work and I don’t know why.
Can you help ?
Regards
Guy Chiaramella
February 5, 2023 at 6:47 am #2522045David
StaffCustomer SupportHi there,
can you share a link to your site where i can see the block ?
February 5, 2023 at 8:12 am #2522249Guy
February 5, 2023 at 9:44 am #2522323David
StaffCustomer SupportIf you select the Text Block, in Advanced > Additional CSS Classes, can you make sure there is
nc-justify-textin there.February 5, 2023 at 10:36 am #2522354Guy
I made sure nc-justify-text is in some text blocks of the page but not in all.
(I couldn’t manage to select the whole container with all paragraphs in it).
But, for the blocks where the additional CSS is there nothing happens.
February 5, 2023 at 10:45 am #2522363Guy
Sorry, i had not activated Generateblocks (now i think I could manage to have for a page a container block with text blocks in it).
I’m going to create a new page and i’ll test it to see what about justifying text.
February 5, 2023 at 11:09 am #2522384Guy
I have created a new page whose name is “attempt”
whiteblog.fr/attempt
Success for each § with the additional class in the corresponding block !
Thank you.
I’ll try to apply the class at the whole page : i don’t see how to select the container block.
Je vais chercher, it’s another topic.`
Merci beaucoup pour votre aide.
Guy
February 6, 2023 at 3:29 am #2523001David
StaffCustomer SupportDo you want to Justify ALL Paragraph text on your site ?
February 7, 2023 at 2:36 am #2524186Guy
Hi David
Sorry for my slow reply.
By the way, yes, I would be happy to justify all paragraph test of my site.
Thanks for telling me how.
Regards,
Guy
February 7, 2023 at 4:50 am #2524333David
StaffCustomer SupportTry this CSS:
.entry-content p { text-align: justify; }it will apply to all paragraphs that are part of your content.
February 7, 2023 at 1:27 pm #2525082Guy
Hi David,
Thanks a lot,
It works perfectly well : all paragraphs are and will be justified. Super !
Regards,
Guy
February 8, 2023 at 4:21 am #2525690David
StaffCustomer SupportGlad to be of help!
-
AuthorPosts
- You must be logged in to reply to this topic.