View Full Version : forum.php and forumdisplay.php widths
Kiint
05-10-2012, 01:05 PM
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, 02: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, 02:45 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?
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/forumdisplay.php?2-SWTOR-News
it's the width of this page that I am trying to change to full width.
Lynne
05-10-2012, 03:13 PM
You have a margin added on the narrower page:
/* 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, 03: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.....
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.