![]() |
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 |
How about a link to the site/page where this is happening so we can check it out?
|
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.. :cool: |
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;"> HTML Code:
<div style=”text-align:center;”> |
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! :) |
All times are GMT. The time now is 11:47 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|