Postings
You can freely browse the forum and post in the community forum.
However, you need a valid license to write posts for support (own a valid commercial software license or have purchased a support membership).
Posts only show once reviewed. This is mainly preventive to keep spam away. Thank you for your understanding!
Line spacing
- schulzdesign
-
Topic Author
- Junior Member
-
Less
More
IP: 91.15.162.186
4 years 3 weeks ago #5750
by schulzdesign
Sincerely,
Thorsten
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
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
- syw
-
- Administrator
-
Less
More
- Posts: 829
IP: 24.185.124.166
4 years 3 weeks ago - 4 years 3 weeks ago #5751
by syw
Olivier.
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:
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).
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:
Code:
.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: 4 years 3 weeks ago by syw.
The following user(s) said Thank You: schulzdesign
- schulzdesign
-
Topic Author
- Junior Member
-
IP: 91.15.167.157
4 years 3 weeks ago #5752
by schulzdesign
Sincerely,
Thorsten
Replied by schulzdesign on topic Line spacing
Hello Olivier,
Many Thanks. It works.
Best regards
Thorsten
Many Thanks. It works.
Best regards
Thorsten
Sincerely,
Thorsten
- syw
-
- Administrator
-
Less
More
- Posts: 829
IP: 24.185.124.166
4 years 3 weeks ago #5753
by syw
