Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 Design and Graphics Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 10-18-2010, 01:27 AM
GFSR GFSR is offline
 
Join Date: Apr 2006
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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?



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?
Reply With Quote
  #2  
Old 10-23-2010, 09:38 AM
betts02's Avatar
betts02 betts02 is offline
 
Join Date: Jun 2009
Posts: 910
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #3  
Old 11-06-2010, 03:42 AM
queengoc queengoc is offline
 
Join Date: Jun 2007
Posts: 118
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #4  
Old 04-07-2011, 10:09 PM
Guest210212002
Guest
 
Posts: n/a
Default

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.

Attached Images
File Type: png Screen shot 2011-04-07 at 7.05.32 PM.png (76.8 KB, 0 views)
Reply With Quote
  #5  
Old 04-07-2011, 10:20 PM
Guest210212002
Guest
 
Posts: n/a
Default

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;
}
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:39 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.07891 seconds
  • Memory Usage 2,207KB
  • Queries Executed 12 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (3)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (5)post_thanks_box
  • (5)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (5)post_thanks_postbit_info
  • (5)postbit
  • (1)postbit_attachment
  • (3)postbit_onlinestatus
  • (5)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • postbit_attachment
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete