[EDIT] Line Height not changing from Global CSS

Post

Posted
Rating:
#8431 (In Topic #2108)

Feedback from my users

EDIT: I went into themes and then global CSS, however it would appear that changing line-height from 1.3 em to 1.6em does not reflect on the website

My users have shown me that a line height of "line-height: 1.6;" would make the text easier to read, (Since I post large articles) but I looking in the settings and I did not find a place to do this. Is there a place I can globally change the lineheight to 1.6 for the body text of articles and forums etc? There must be, Composr is very verstaile, I must be missing something.

Thanks!

Last edit: by dkpartycomrade

Post

Posted
Rating:
#8432
Yes, you should be able to edit the line height, but I need to take a look to guide you better on how to do that.

Could you link me to a news article on your site so I can take a closer look? Thank you.

Post

Posted
Rating:
#8433
Thanks patrick, here is one article: https://proletarianrevolution.net/index.php?page=news&type=view&id=11

As of now, in the global.css of the Admin Zone > themes 

Line 752-752 is as follows:


 zone_running_docs .comcode_page {
    line-height: 1.3em;

However, when updated to 1.6 em, there is no effect on the main page.

Post

Posted
Rating:
#8434
Hello,

That is because that particular code only runs on the docs (tutorials) zone (zone_running_docs).

Using the theme / CSS editor, try adding this below that:

Code (CSS)

.page_running_news .global_middle {
    line-height: 1.6em;
}

This will apply a line height of 1.6 in the middle section of the site on all news pages.

Post

Posted
Rating:
Item has a rating of 5 Item has a rating of 5 Item has a rating of 5 Item has a rating of 5 Item has a rating of 5 (Liked by PDStig)
#8435
Thank you Patrick, the issue has been solved. 

 
0 guests and 0 members have recently viewed this.