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 do i center-align vbulletin page after applying custom width? (https://vborg.vbsupport.ru/showthread.php?t=231114)

Fusion2 12-24-2009 09:53 PM

How do i center-align vbulletin page after applying custom width?
 
I set a custom width to my vBulletin. But, the page shows aligned to left. How do i align to Center? Cant find an option for this under style var.

MrBlackStar 12-24-2009 10:16 PM

1)set doc_width and doc_maxwidth same value , this is your custom width of forum
2)doc_magin:
Use the 'top' value for all sides :Yes
Top:auto
________
new developments in Jomtien

Fusion2 12-24-2009 10:26 PM

Quote:

Originally Posted by MrBlackStar (Post 1937626)
1)set doc_width and doc_maxwidth same value , this is your custom width of forum
2)doc_magin:
Use the 'top' value for all sides :Yes
Top:auto

Thanks worked like a charm! :)

brianpauljaus 12-26-2009 07:30 PM

same here. Got into the same problem and this fixed worked for me too. nice one !

zygote 12-30-2009 07:01 AM

Where is doc_width and doc_maxwidth settings?
--EDIT
Found them under Style Manager -> Style Vars -> Common
Seems VBCMS doesn't use these variables.(Yeap, working now)

Miras 12-30-2009 07:52 AM

vB4 CMS - working fine
thanks for the hint!

sleepykim 01-01-2010 06:15 AM

thank you

consolegaming 01-01-2010 11:20 AM

For the margin you don't need to do the top part mentioned. i.e. if you leave use top for all sides as No and just set the left and right margins to auto then that'll work fine. And that means if you need to add a margin to the top or bottom you can do. Usually you won't need to but I felt it worth mentioning.

Birute 01-03-2010 08:14 PM

Works nicely, thanks!!

SM_Rob 01-06-2010 06:20 PM

How do I align the VBCMS (content.php) as it seems to have independent variables?


All times are GMT. The time now is 01:28 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.03111 seconds
  • Memory Usage 1,728KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete