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)
-   -   forum.php and forumdisplay.php widths (https://vborg.vbsupport.ru/showthread.php?t=282734)

Kiint 05-10-2012 02:05 PM

forum.php and forumdisplay.php widths
 
I have a small problem on my current style and that is the forum.php and forumdisplay.php widths are different.

I have found the doc_width setting which changes the width of forum.php pages, but can't find the width setting for forumdisplay.php.

Can anyone help me :)

Lynne 05-10-2012 03:37 PM

doc_width is for all the pages unless you have modified the classes used in the templates so that the stylevar/css doesn't work.

How about a link to a working page and a link to a broken page?

Kiint 05-10-2012 03:45 PM

Quote:

Originally Posted by Lynne (Post 2328077)
doc_width is for all the pages unless you have modified the classes used in the templates so that the stylevar/css doesn't work.

How about a link to a working page and a link to a broken page?

I have it on my test site at the moment:

If you go here you will see the page at the full width
http://www.robrobbins.co.uk/vbforum/forum.php

If you click on any forum it will show a more narrower page. like here:
http://www.robrobbins.co.uk/vbforum/...p?2-SWTOR-News
it's the width of this page that I am trying to change to full width.

Lynne 05-10-2012 04:13 PM

You have a margin added on the narrower page:
HTML Code:

/* BASIC PAGE ELEMENTS */

body {
        width:auto;
        min-width:650px;
        max-width:auto;
        margin: 0px 35px 0px 35px;
        font-size:13px;
        color:rgb(204, 204, 204);
        line-height:1.230;
}


Kiint 05-10-2012 04:40 PM

Thanks

I'm able to change the width of forum.php to match the forumdisplay.php, but i'm unable to find the setting to change forumdisplay.php to anything else.

Any idea on where I could find this?

--------------- Added 10 May 2012 at 22:39 ---------------

I think I've found the problem, the style id for forumdisplay.php is different to forum.php

I want the style id's to be the same.
How would I go about changing the style id on forumdisplay.php to match the one in forum.php???

FIXED: I deleted the other style and the current style defaulted to the correct style id for each page.....


All times are GMT. The time now is 01:12 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.01115 seconds
  • Memory Usage 1,720KB
  • 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_html_printable
  • (1)bbcode_quote_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