PDA

View Full Version : Want to reduce font size in H2


len backus
07-19-2008, 02:04 PM
I have added a VBSEO Relative Replacement to "showthread" using an H2 tag for the thread title in the RR. I would like H2 to use a smaller font. Earlier, I had been successful in reducing font size for H2 used in my vBadvanced Dynamics article pages. This is done by inserting style code into the box near the bottom of the style editing page.

But...this style code modification doesn't affect the HTML code I placed in the showthread template. Any ideas?

Also, in general, I'd like this style modification to eliminate the extra vertical spacing between lines and usually present in H tags.

Opserty
07-19-2008, 02:09 PM
If you have questions regarding a modification please post in the thread/site/forum from which you downloaded it. As the authors/other users will be ones best placed to assist you.

(If you haven't already done so you could try the following: )

AdminCP > Styles & Templates > Style Manager > Main CSS

Scroll to the bottom and find the second text area for Additional CSS Definitions

Place the CSS for the h2 tag in that box. (It may be that the h2 tag uses an additional class which is overwriting the font size itself).

len backus
07-19-2008, 02:29 PM
THanks, I'll try vBulletin forum also.

It may be that the h2 tag uses an additional class which is overwriting the font size itself

Yes, that is what I tried and mentioned above. It didn't work.

notrious
07-19-2008, 05:40 PM
make sure your ccs code is corrent ... it should damn work

len backus
07-19-2008, 06:20 PM
h1 {
font-size: 12px;
text-align:top;

}

/h2 {
font-size: 12pix;
}

It works for the Dynamics pages but not the forum thread.

Opserty
07-19-2008, 09:22 PM
Look how what you have written for h2 is different to what you have for h1... maybe you should make them similar? ;)