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 change Font Padding for forumhead (or tcat) (https://vborg.vbsupport.ru/showthread.php?t=252214)

GFSR 10-18-2010 01:27 AM

How to change Font Padding for forumhead (or tcat)
 
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 [DATE]1287429265[/DATE] at [TIME]1287429265[/TIME] ---------------

anyone?

betts02 10-23-2010 09:38 AM

Been trying to find out myself but no luck mate

--------------- Added [DATE]1287859449[/DATE] at [TIME]1287859449[/TIME] ---------------

https://vborg.vbsupport.ru/showthrea...74#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 10:09 PM

1 Attachment(s)
Old post, but I figured this out for those searching.

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

(last line)

Code:

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:

Code:

.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/attachmen...1&d=1302217702

Guest210212002 04-07-2011 10:20 PM

You'll need to add it here as well, to get Last Post to do the same thing, dropping the float.

Code:

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



All times are GMT. The time now is 07:02 AM.

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.01021 seconds
  • Memory Usage 1,719KB
  • 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
  • (3)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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