The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
Hello
I want to change line-height style for my forum but I couldn't find any style with this name. by using firebug I could understand It is already set to 1.23 em in body style but I don't know how can I change it . Thank you. |
|
#2
|
||||
|
||||
|
I'd be interested in this too.
|
|
#3
|
|||
|
|||
|
Add the following code to additional.css (adjust line-height as desired)
ACP -> Styles & templates -> style manager -> your style here -> edit templates -> CSS templates -> addtional.css Code:
/* custom line-height */
body {
color: #3E3E3E;
font-size: 13px;
line-height: 1.23 !important;
margin: 0 35px;
min-width: 650px;
width: auto;
}
|
|
#4
|
||||
|
||||
|
Thanks. Where do i find the additional.css file? Through the admin panel or FTP?
|
|
#5
|
|||
|
|||
|
I edited my first reply to so where in the ACP to go
|
|
#6
|
||||
|
||||
|
Styles & Templates - Search in templates
|
|
#7
|
|||
|
|||
|
It doesn't apply to articles though. Why?
|
|
#8
|
||||
|
||||
|
I'd like to apply this mainly to the forum posts. The code doesn't work on the forum posts (paragraphs). How can I do so?
Thanks |
|
#9
|
|||
|
|||
|
Because cms articles use different css. Put this in your additional.css file (see my first post for location) and adjust line-height as desired.
ACP -> Styles & templates -> style manager -> your style here -> edit templates -> CSS templates -> addtional.css Code:
.cms_article_txt_content {
-moz-font-feature-settings: normal;
-moz-font-language-override: normal;
color: #3E3E3E;
font-family: Tahoma,Calibri,Verdana,Geneva,sans-serif;
font-size: 13px;
line-height: 1.23 !important;
margin-bottom: 5px;
}
Quote:
ACP -> Styles & templates -> style manager -> your style here -> edit templates -> CSS templates -> addtional.css Code:
.postbit .postrow {
-moz-font-feature-settings: normal;
-moz-font-language-override: normal;
font-family: Verdana,Arial,Tahoma,Calibri,Geneva,sans-serif;
font-size: 13px;
line-height: 1.23 !important;
}
|
|
#10
|
|||
|
|||
|
Quote:
Is there any way to make this change the spacing when viewing the article? |
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|