[EDIT] Line Height not changing from Global CSS

Post

Posted
Rating:
#10258 (In Topic #3536)
Avatar
Standard member
dkpartycomrade is in the usergroup ‘Fan in action’

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

Online now: No Back to the top

Post

Posted
Rating:
#10259
Avatar
Site director
Patrick Schmalstig is in the usergroup ‘Administrators’
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.

  • Need support for version 10? The core development team is no-longer offering it for free (unless it's a critical bug that breaks your entire site or a serious security hole). Please consider hiring me instead if you need v10 support or a non-critical bug fix. Or, ask the community in the forums!
  • Do you enjoy Composr? Please consider contributing your talent to the project or recommending Composr to others. Even small contributions make a big impact in the Composr community.
  • Do you have feedback for us? You can report bugs, suggest features, or give feedback on the Free support options page.
  • Do you need professional service with your Composr website? Please consider contracting me for your needs through my company, PDStig, LLC. Doing so will also help fund Composr development.
  • Want to watch live streams of me developing Composr CMS? Please subscribe to me on Twitch to be notified when I stream. Composr development streams are usually spontaneous / not scheduled in advance as work priorities come first.
Online now: No Back to the top

Post

Posted
Rating:
#10260
Avatar
Standard member
dkpartycomrade is in the usergroup ‘Fan in action’
Thanks patrick, here is one article: News archive - Proletarian Revolution

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.
Online now: No Back to the top

Post

Posted
Rating:
#10261
Avatar
Site director
Patrick Schmalstig is in the usergroup ‘Administrators’
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.

  • Need support for version 10? The core development team is no-longer offering it for free (unless it's a critical bug that breaks your entire site or a serious security hole). Please consider hiring me instead if you need v10 support or a non-critical bug fix. Or, ask the community in the forums!
  • Do you enjoy Composr? Please consider contributing your talent to the project or recommending Composr to others. Even small contributions make a big impact in the Composr community.
  • Do you have feedback for us? You can report bugs, suggest features, or give feedback on the Free support options page.
  • Do you need professional service with your Composr website? Please consider contracting me for your needs through my company, PDStig, LLC. Doing so will also help fund Composr development.
  • Want to watch live streams of me developing Composr CMS? Please subscribe to me on Twitch to be notified when I stream. Composr development streams are usually spontaneous / not scheduled in advance as work priorities come first.
Online now: No Back to the top

Post

Posted
Rating:
Item has a rating of 5 (Liked by Patrick Schmalstig)
#10262
Avatar
Standard member
dkpartycomrade is in the usergroup ‘Fan in action’
Thank you Patrick, the issue has been solved. 

 
Online now: No Back to the top
1 guest and 0 members have just viewed this.

Statistics

Forum statistics:
  • 2,051 topics, 7,194 posts, 10,824 members
  • Our newest member is gracenayjanjoh
Birthdays:
Back to Top