H1 tag line-height can't be changed.

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Tue Feb 04, 2014 3:29 am
Reply with quote
Report this post
Is there anyway to change the h1 line-height? I have tried many ways in the overite css. line-height:*px; doesn't work. Changing other attributes such as font-size works though.

Thanks!
User avatar
Fresh Boarder

GK User
Tue Feb 04, 2014 7:39 am
Reply with quote
Report this post
Could You please post an url to your site to a place, where you would like to change the height?
User avatar
Moderator

GK User
Tue Feb 04, 2014 3:12 pm
Reply with quote
Report this post
Hi!

An example is :
http://www.bandroom.sg/aa/index.php/ind ... 6-feb-2014

The title that appears here is in 2 line and wide line-height.

THanks!
User avatar
Fresh Boarder

GK User
Wed Feb 05, 2014 5:47 pm
Reply with quote
Report this post
Hi Cyberek,

Thanks for responding, I have resolved the issue. It was weird though I thought I tried it before and it didn't work but now it does.

article header h1 {
line-height:18px;
}

Thanks!

Nick
User avatar
Fresh Boarder

GK User
Wed Feb 05, 2014 7:26 pm
Reply with quote
Report this post
Well, sometimes you need to use !important if everything else fails, but it looks like this time it was unnecessary.
User avatar
Moderator


cron
Remember me
Register New Account
If you are old Gavick user, click HERE for steps to retrieve your account.