Jump to content

Increase leading


Go to solution Solved by opentype,

Recommended Posts

Posted (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 by Giray
  • Solution
Posted (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 by opentype
Posted
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.

Posted
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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...