The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Additional CSS for H2, H3 tags has no effect
hi all!
i added an additional css for H2 and H3 tags but the font size on pages is very large, regardless of the size specified in the css even if i delete the css, the font size does not change so the additional css seems to have no effekt. any suggestions? thank you! gr |
#2
|
||||
|
||||
How about a link to the site/page where this is happening so we can check it out?
|
#3
|
|||
|
|||
i removed it, but i wanted to integrate this:
Style Manager -> Style and Templates -> {Your Theme Name} -> Main CSS -> Additional CSS (at the very bottom of the page) and enter: h2.seovb2 {font-family: Arial; font-size: 20px; color: #000000; font-weight: bold;} h3.seovb3 {font-family: Arial; font-size: 16px; color: #000000; font-weight: bold;} Hit Save, and then from the drop down in the top left corner, select Edit Templates Open forumdisplay templates ->FORUMDISPLAY and after $navbar add the following: <div style=?text-align:center;?> <h2 class=?seovb2″>$foruminfo[title_clean]</h2> <h3 class=?seovb3″>$foruminfo[description]</h3> </div> Hit save and then open the SHOWTHREAD template and perform a similar edit using the following: <div style=?text-align:center?> <h2 class=?seovb2″>$thread[title]</h2> <h3 class=?seovb3″>$foruminfo[title_clean]</h3> </div> the text displays, but i can not influence its font/size, so the css doenst work.. |
#4
|
||||
|
||||
I copied exactly what you did and it didn't work. It's because you didn't use standard quote marks in your html and so it converted it.
Use " not ” So: HTML Code:
<div style="text-align:center;"> <h2 class="seovb2">$foruminfo[title_clean]</h2> <h3 class="seovb3">$foruminfo[description]</h3> </div> HTML Code:
<div style=”text-align:center;”> <h2 class=”seovb2″>$foruminfo[title_clean]</h2> <h3 class=”seovb3″>$foruminfo[description]</h3> </div> |
#5
|
|||
|
|||
Thank you Lynne!
I did not even know, there is a difference ..... you are right: with ' it works, with " it doesn't work Thank you! |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|