Giray Posted July 12, 2023 Posted July 12, 2023 (edited) Hi all. Could someone give me the best/most-elegant way of increase the leading (line-spacing) of text throughout the community? Thx. Edited July 12, 2023 by Giray
Solution opentype Posted July 12, 2023 Solution Posted July 12, 2023 (edited) It can be tricky. Many areas expect standard values or you will get cut-off letters (e.g. in the bread-crumb navigation). There is also more than one value because there is the the space between lines and the space between paragraph and dozens of CSS classes that apply in different areas. A start would be to override this default value and pick a higher number: .ipsType_normal.ipsType_richText { line-height: 1.6; } This should have an instant effect on forum posts, articles and so on. Edited July 12, 2023 by opentype Giray and ArashDev 1 1
Giray Posted July 12, 2023 Author Posted July 12, 2023 12 minutes ago, opentype said: It can be tricky. Many areas expect standard values or you will get cut-off letters (e.g. in the bread-crumb navigation). There is also more than one value because there is the the space between lines and the space between paragraph and dozens of CSS classes that apply in different areas. A start would be to override this default value and pick a higher number: .ipsType_normal.ipsType_richText { line-height: 1.6; } This should have an instant effect on forum posts, articles and so on. That worked nicely. Brought it up to 1.8 and I feel it's now more readable. IPS, it would be nice to add more granular control to text. Thx again.
Jim M Posted July 12, 2023 Posted July 12, 2023 45 minutes ago, Giray said: That worked nicely. Brought it up to 1.8 and I feel it's now more readable. IPS, it would be nice to add more granular control to text. Thx again. I would advise leaving your suggestion in our Feedback forum for further evaluation. However, as opentype mentioned, it may not be possible to perform this at a theme setting level and may be best suited due to complexity/current design and demand to be a customization level. SeNioR- and Giray 2
Recommended Posts