Skip to content
Public Ticket #10786

Paragraph style

Conversation thread

PenciDesign replied

Staff Reply

Hi,

If you've set the paragraphs is justified - the center text won't be works. Because justified makes the text can't be center..

Best Regards,

PenciDesign

aneliyakalcheva replied

Customer Reply

Hello! I asked to have the paragraphs justified by default which works perfectly with the code you provided. However from time to time I would like to have some text centred but even when I try to align it it's not working as the main code is for justified text.

Is there a way to have the paragraph justified by default but being able to still change it when needed? 

aneliyakalcheva replied

Customer Reply

Great, thank you! It's perfect now! 

PenciDesign replied

Staff Reply

Hi,

Please try replace the code I sent to this code:

.penci-post-gallery-container p:empty, .penci-post-gallery-container .item-gallery-masonry > p{ display: none; }

Best Regards,

PenciDesign

aneliyakalcheva replied

Customer Reply

Thank you, the first one worked, but for the second one - can you see here how there is still a lot of space under the gallery in the recipe: https://www2.healthylicious.bg/banana-pancakes/

PenciDesign replied

Staff Reply

Hi,

1/ If you want to do that for every posts content, please try add more this code to Customize > Custom CSS:

.post-entry p{ text-align: justify;  }

2/ Please try add more this code to Customize > Custom CSS to fixed this issue:

.penci-post-gallery-container p:empty, .penci-post-gallery-container p.animated{ display: none; }

Best Regards,

PenciDesign

aneliyakalcheva started the conversation

Conversation Start

Hello! I have 2 questions

1. How can I align justify the text in the main paragraphs in a post? Is there a way to do it by default or for the whole website? I found a way of doing it paragraph by paragraph and adding a code but it's very time consuming

2. In the "pence recipe" when I add a gallery, there is a lot of space over and under the gallery, which I cannot change

Want to join this conversation or access attachments? Sign in first.