Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted July 12, 20231 yr 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, 20231 yr by Giray
July 12, 20231 yr Community Expert Solution 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, 20231 yr by opentype
July 12, 20231 yr Author 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.
July 12, 20231 yr Community Expert 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.