Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length

JoomlaTune Support Forum    JComments component    General discussion    Topic: Change line-height in CSS for comments
Pages: [1]   Go Down
  Print  
Author Topic: Change line-height in CSS for comments  (Read 7584 times)
0 Members and 1 Guest are viewing this topic.
MulletMidget
Newbie
*

Karma: 0
Offline Offline

Posts: 3


« on: November 03, 2009, 23:33:38 »

I don't know if this is template related maybe (I use RocketThemes SolarSentinel template) but the entered comments text lines are to tight and are kind of hard to read.
I know I can change this by adding/altering the "line-height" in the CSS-file.
But where exactly do I change this?

In components/com_jcomments/tpl/default/style.css or in my templates template.css?
I guess the first one.
But there seem to be a dozen of "line-height"-entries in style.css, so it would take me the whole day to guess. Smiley
So which one is the one I need to change for the comments line spacing?
« Last Edit: November 03, 2009, 23:50:14 by MulletMidget » Logged
smart
Administrator
Hero Member
*****

Karma: 188
Offline Offline

Gender: Male
Posts: 1883



WWW
« Reply #1 on: November 03, 2009, 23:42:20 »

You can add your own line-height in style:

Code: (css)
#comments .comment-body {color: #777;margin: 6px 0 0;padding:0 0 2px}

This style is applied to comment's text block...
Logged

If you use JComments, please post a rating and a review at the Joomla! Extensions Directory
MulletMidget
Newbie
*

Karma: 0
Offline Offline

Posts: 3


« Reply #2 on: November 03, 2009, 23:49:41 »

Thank you!
Worked like a charm. Smiley
I added "line-height: 150%" and now the text is much easier to read.
Logged
Pages: [1]   Go Up
  Print  
JoomlaTune Support Forum    JComments component    General discussion    Topic: Change line-height in CSS for comments
 
Jump to: