Log in

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


Arkidas
07-06-2010, 11:37 AM
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
07-06-2010, 11:50 AM
min-height is 45px I think, so add the following code to you additional.css :

.forumtitle {
line-height: 45px;
}

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

KevinL
07-06-2010, 12:33 PM
I think he is saying to just ADD it ;)

Arkidas
07-06-2010, 01:05 PM
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
07-06-2010, 01:08 PM
are you talking about the file on your server? Or in the additional.css in templates? You should be editing it there

Arkidas
07-06-2010, 01:11 PM
Didn't know it was in a template (new to vB4). Thanks mate :)

Madpoodle
07-06-2010, 11:22 PM
Would you post an "after" screen shot please?

Arkidas
07-06-2010, 11:27 PM
Sure. I also added:

.viewing{
line-height: 40px;
}

to fix the "x viewing" text.

KevinL
07-07-2010, 12:04 AM
Looks very nice!

Glad you got it sorted :)

merk_aus
07-08-2010, 01:26 AM
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.