H1 tag line-height can't be changed.
Rate this topic: 




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!
Thanks!
-
- 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?
-
- 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!
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!
-
- 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
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
-
- 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.
-
- Moderator
5 posts
• Page 1 of 1