vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=253)
-   -   How to vertically align forum titles to the middle when no forum description? (https://vborg.vbsupport.ru/showthread.php?t=245986)

Arkidas 07-06-2010 12:37 PM

How to vertically align forum titles to the middle when no forum description?
 
1 Attachment(s)
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 12:50 PM

min-height is 45px I think, so add the following code to you additional.css :
PHP Code:

.forumtitle {
line-height45px;



Arkidas 07-06-2010 01: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 01:33 PM

I think he is saying to just ADD it ;)

Arkidas 07-06-2010 02: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 02: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 02:11 PM

Didn't know it was in a template (new to vB4). Thanks mate :)

Madpoodle 07-07-2010 12:22 AM

Would you post an "after" screen shot please?

Arkidas 07-07-2010 12:27 AM

1 Attachment(s)
Sure. I also added:

.viewing{
line-height: 40px;
}

to fix the "x viewing" text.

KevinL 07-07-2010 01:04 AM

Looks very nice!

Glad you got it sorted :)

merk_aus 07-08-2010 02: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.


All times are GMT. The time now is 04:57 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
  • Page Generation 0.01229 seconds
  • Memory Usage 1,723KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (11)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete