Are you enjoying the extensions? Did you like the support? Help others decide.

Leave a review

question-circle Line spacing

More
1 year 6 months ago #5750 by schulzdesign
Line spacing was created by schulzdesign
Hello,

I want to know how the lines between <p> and <br> get different spacing.

So far, all spacing is the same as a line break. If I want to insert a paragraph, I have to insert <br><br> in the article.
In the main article, however, it doesn't look pretty.

An example for a better understanding: www.schulzdesign.info/
Scroll down to: "Nachrichten aus der Werbeagentur"

How can I solve this?

Thanks and best regards
Thorsten

Sincerely,
Thorsten

Please Log in or Create an account to join the conversation.

More
1 year 6 months ago - 1 year 6 months ago #5751 by syw
Replied by syw on topic Line spacing
Hello Thorsten.

Paragraphs in LNE have no margin or padding.

You should not adapt your articles, so they work in LNE but adapt LNE to fit your needs.

If you need space after each paragraph, just tweak the CSS with your own properties. In the 'theme' tab, just add:

.lnee ul.latestnews-items li p { margin-bottom: 10px !important; }

This will add 10 pixels after each paragraph.

Be careful, your pages are cached with jspeed, you will need to empty the cache to see any change (and make sure the LNE module instance is in test mode - 'advanced' tab - for the stylesheets to be re-created).

Olivier.
Last edit: 1 year 6 months ago by syw.
The following user(s) said Thank You: schulzdesign

Please Log in or Create an account to join the conversation.

More
1 year 5 months ago #5752 by schulzdesign
Replied by schulzdesign on topic Line spacing
Hello Olivier,
Many Thanks. It works.

Best regards
Thorsten

Sincerely,
Thorsten

Please Log in or Create an account to join the conversation.

More
1 year 5 months ago #5753 by syw
Replied by syw on topic Line spacing
You are welcome, Thorsten!

Olivier.

Please Log in or Create an account to join the conversation.