vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Postbit_legacy help (https://vborg.vbsupport.ru/showthread.php?t=237483)

betts02 03-04-2010 02:22 PM

Postbit_legacy help
 
can someone please let me know how i change the potbit_legacy width to accomodate the xbox gamer card as seen >>>http://www.nextgenerationgamers.co.u...2993#post12993

As you can see the postbit_legacy needs to be resized to suit

cheers in advance

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

any help on this 1 ?

Lynne 03-04-2010 11:13 PM

Do a search in templates for ".postbitlegacy .userinfo" and see what stylevar is setting the width and then change it.

betts02 03-10-2010 08:29 PM

sorry but i am lost with this, if someone could just tell me what and where to change the width please

Lynne 03-10-2010 09:59 PM

Go to your admin cp. Click Styles & Templates, then Search in Templates. In the Top Search for Text box, enter ".postbitlegacy .userinfo" (no quotes). Hit Find. It will show the templates it is in in the various styles. Find the style you are interested in and double-click on the template (in this case, the template is postbit.css). It will open and the word will already be input into the Search in Template field so just hit the Find button next to it. Then it will show you the class:
Code:

.postbitlegacy .userinfo {
    float:{vb:stylevar left};
    position: relative;
    width:{vb:math {vb:stylevar postbitlegacy_userinfo_width}-{vb:math {vb:stylevar padding}*2}};
    padding: 2px {vb:stylevar padding} {vb:math {vb:stylevar padding}/2};
    font-size: {vb:stylevar small_fontSize};
    display:block;
        background: {vb:stylevar postbit_userinfo_background};
    clear:both;
}

From that you can see the width is setting using some math based around the stylevar "postbitlegacy_userinfo_width".

Andy 03-11-2010 12:32 AM

StyleVars -> Postbit -> postbitlegacy_userinfo_width


All times are GMT. The time now is 02:26 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.01015 seconds
  • Memory Usage 1,726KB
  • 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_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