- Posts: 6
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 of Text
- MIW
-
Topic Author
- New Member
-
Less
More
IP: 24.11.33.153
8 years 6 months ago #4983
by MIW
Line Spacing of Text was created by MIW
How can I adjust the line spacing of text?
When articles are brought into Latest News line spacing is increased.
Thanks
When articles are brought into Latest News line spacing is increased.
Thanks
- syw
-
- Administrator
-
Less
More
- Posts: 829
IP: 24.185.113.161
8 years 6 months ago #4984
by syw
Olivier.
Replied by syw on topic Line Spacing of Text
Hello,
this can be adjusted with CSS.
Use the property: line-height for text content for instance.
You may need some other adjustments, depending on what you need, the styles used by the module and the styles overridden by the template. For instance, you can reduce the padding of the title (.newstitle).
CSS can be added to the extension in the advanced tab.
this can be adjusted with CSS.
Use the property: line-height for text content for instance.
Code:
.newsintro { line-height: 1.2em; }
You may need some other adjustments, depending on what you need, the styles used by the module and the styles overridden by the template. For instance, you can reduce the padding of the title (.newstitle).
CSS can be added to the extension in the advanced tab.
Olivier.
- MIW
-
Topic Author
- New Member
-
Less
More
- Posts: 6
IP: 24.11.33.153
8 years 6 months ago #4985
by MIW
Replied by MIW on topic Line Spacing of Text
Thanks, that's what I needed as I couldn't find a setting for it.
Michael
Michael
- MIW
-
Topic Author
- New Member
-
Less
More
- Posts: 6
IP: 24.11.33.153
8 years 6 months ago #4986
by MIW
Replied by MIW on topic Line Spacing of Text
There is a problem with this; I put the code in one of four modules and it changed all of them. I have an LN module for separate module locations in my template. It's likely to be a problem when I want distinct formatting for my real site.
Michael
Michael
- syw
-
- Administrator
-
Less
More
- Posts: 829
IP: 24.185.113.161
8 years 6 months ago #4987
by syw
Olivier.
Replied by syw on topic Line Spacing of Text
The code was an example.
To separate the code for each instance, you need to follow the example given to you under the CSS overrides parameter.
For instance, prefix the code with #lnee_XX where XX is the id of your module instance.
To separate the code for each instance, you need to follow the example given to you under the CSS overrides parameter.
For instance, prefix the code with #lnee_XX where XX is the id of your module instance.
Olivier.
