PDA


View Full Version : Fixed width CMPS


thinkharder
01-22-2006, 09:07 PM
Hi,

I have a clean install the latest versions of vb, vBadvanced CMPS and PhotoPost vBGallery. Basically I have tried everything (and searched this site lots!) to get the CMPS a fixed width (ie 800 pixels) rather than the default 100%. Whatever I try either messes up the page totally, or bits of it remain too wide!

How can I fix this?

Thanks.

Brian
01-23-2006, 02:58 AM
Edit your adv_portal template and change the width of the main table in there.

thinkharder
01-23-2006, 07:15 PM
Do you mean this bit (where I have changed it to 900px)

$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
<title>$vboptions[hometitle] <if condition="$pagetitle">- $pagetitle</if></title>

$headinclude

</head>
<body>

$header

$navbar

<table align="center" class="page" cellspacing="0" cellpadding="0" width="900px">

As you can see I have done that, but the nav bar at the top is still at 100%.

Cheers.

Brian
01-23-2006, 07:48 PM
The width of the navbar is still going to be controlled by your default width setting.

thinkharder
01-23-2006, 10:29 PM
How can I change my "default width setting"? I have changed the width in the adv_portal template and also the main vb width in "Main Table Width".

EDIT: No worries, I have fixed it. Thanks for your help Brian :)

cdembek
02-09-2006, 07:09 PM
how did you fix it?

thinkharder
02-09-2006, 09:11 PM
I can't remember now, sorry :(

Decipher
02-27-2006, 07:18 AM
i wanted the same thing..vbadvanced 100% width and forum fixed width of 755..
and if $header is used for both then it is impossible...so you need to use $header for the forum and then simply copy the whole of the header code for the forum (in style manager) and paste into your adv_portal template, replacing $header, and also replacing the width with your desired width...

vpa021
01-15-2007, 12:49 AM
Exactly what i was looking for thanks dude worked like a charm