PDA

View Full Version : How to change Font Padding for forumhead (or tcat)


GFSR
10-18-2010, 12:27 AM
I just search around but couldnt find out how to do this: or which style var do it.

I added here a picture hope it can explain more clearly what I want to do?

https://vborg.vbsupport.ru/external/2010/10/22.jpg

and how can i change the font size in forum description and thread

If anybody know how to do it please help me with it!

thank you in advanced

Regards,

--------------- Added 1287429265 at 1287429265 ---------------

anyone?

betts02
10-23-2010, 08:38 AM
Been trying to find out myself but no luck mate

--------------- Added 1287859449 at 1287859449 ---------------

https://vborg.vbsupport.ru/showthread.php?p=2113274#post2113274

queengoc
11-06-2010, 03:42 AM
I would love to know this too. I would like to center the forum name. It was centered before I upgraded but can't find out how to do it on 4.0.

Guest210212002
04-07-2011, 09:09 PM
Old post, but I figured this out for those searching.

In forumbits.css, forst under forumhead I gave my forumhead a height:

(last line)


forumhead {
background: {vb:stylevar forumhead_background};
_background-image: none;
padding: 0;
font:{vb:stylevar forumhead_font};
color:{vb:stylevar forumhead_color};
clear:both;
margin-top: 0;
height: 30px;

Then further down, I added the following:


.forumbit_nopost .forumhead .forumtitle a {
color: {vb:stylevar forumhead_color};
margin-{vb:stylevar left}: {vb:stylevar padding};
padding-left: 120px;
float:left; height:50%; margin-top:4px;
}


The padding pushes it over, and the margin-top pixel count is what moves it up and down, just adjust it to wherever center of your forumhead row happens to be.

https://vborg.vbsupport.ru/attachment.php?attachmentid=128020&stc=1&d=1302217702

Guest210212002
04-07-2011, 09:20 PM
You'll need to add it here as well, to get Last Post to do the same thing, dropping the float.


.forumbit_nopost .forumhead span.forumlastpost, .forumbit_post .forumhead span.forumlastpost {
width: 21%; height:50%; margin-top:4px;
}