PDA

View Full Version : How to vertically align forum titles to the middle when no forum description?


Arkidas
06 Jul 2010, 13:37
I do not use forum descriptions since my forum names are straightforward and therefore I'd like to vertically align the forum titles to the middle with the forum status icons.

How can I achieve this?

eSekar
06 Jul 2010, 13:50
min-height is 45px I think, so add the following code to you additional.css :

.forumtitle {
line-height: 45px;
}

Arkidas
06 Jul 2010, 14:20
I'm on vB4 and there is no additional.css to edit. How do I do this in vB4?

KevinL
06 Jul 2010, 14:33
I think he is saying to just ADD it ;)

Arkidas
06 Jul 2010, 15:05
I tried storing CSS as file and then added the code above to my additional.css and it worked, but whenever I change anything at all in StyleVars and save, the CSS file is replaced by a blank one.

KevinL
06 Jul 2010, 15:08
are you talking about the file on your server? Or in the additional.css in templates? You should be editing it there

Arkidas
06 Jul 2010, 15:11
Didn't know it was in a template (new to vB4). Thanks mate :)

Madpoodle
07 Jul 2010, 01:22
Would you post an "after" screen shot please?

Arkidas
07 Jul 2010, 01:27
Sure. I also added:

.viewing{
line-height: 40px;
}

to fix the "x viewing" text.

KevinL
07 Jul 2010, 02:04
Looks very nice!

Glad you got it sorted :)

merk_aus
08 Jul 2010, 03:26
Wow looks awesome I was about to ask the same thing. See what happens when you read instead of just posting. Thanks for asking this question and thanks for the answers provided.