Responsive template 4Bridges 'Oldnema'

About the template and stylesheet - and changing the menu
Post Reply
Nicky
Posts: 164
Joined: Sun Feb 08, 2009 9:50 am
Location: Antwerp, Belgium

Responsive template 4Bridges 'Oldnema'

Post by Nicky » Sun Jul 13, 2014 9:31 am

Hi, I would like to customize the 4Bridges template by Oldnema, however (not very specialized in css unfortunately..) I can't figure out how to increase the line height of the body and newsbox text.

Already tried in stylesheet.css file to add line-height: 150% in .body class but doesn't seem to work.

Here's the template: http://oldnema.compsys.cz/demos/4bridges/

Any help welcome, thanks in advance.

cmb
Posts: 14227
Joined: Tue Jun 21, 2011 11:04 am
Location: Bingen, RLP, DE
Contact:

Re: Responsive template 4Bridges 'Oldnema'

Post by cmb » Sun Jul 13, 2014 10:59 am

Nicky wrote:Already tried in stylesheet.css file to add line-height: 150% in .body class but doesn't seem to work.
The template doesn't define a "body" class, but rather a "body" ID, so you'd have to style #body. However, that doesn't have the desired effect, because the line-height property is defined for several other selectors. I suggest you search for "line-height" in the stylesheet, and change the values as appropriate.

Note that you can use 150%, 1.5 and 1.5em, all with slightly different effect, see http://www.w3.org/wiki/CSS/Properties/line-height.
Christoph M. Becker – Plugins for CMSimple_XH

Post Reply