vBadvanced Forums  
Go Back   vBadvanced Forums > vBadvanced Products > vBadvanced CMPS > vBa CMPS v2.0 Support > "How Do I..." Questions

Reply
 
Thread Tools Display Modes
  #1  
Old 01-22-2006, 08:07 PM
thinkharder thinkharder is offline
Junior Member
 
Join Date: Jan 2005
Posts: 5
Default Fixed width CMPS

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.
Reply With Quote
  #2  
Old 01-23-2006, 01:58 AM
Brian's Avatar
Brian Brian is offline
Administrator
 
Join Date: Jan 2004
Location: Georgia, USA
Posts: 34,240
Default Re: Fixed width CMPS

Edit your adv_portal template and change the width of the main table in there.
Reply With Quote
  #3  
Old 01-23-2006, 06:15 PM
thinkharder thinkharder is offline
Junior Member
 
Join Date: Jan 2005
Posts: 5
Default Re: Fixed width CMPS

Do you mean this bit (where I have changed it to 900px)

Code:
$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.
Reply With Quote
  #4  
Old 01-23-2006, 06:48 PM
Brian's Avatar
Brian Brian is offline
Administrator
 
Join Date: Jan 2004
Location: Georgia, USA
Posts: 34,240
Default Re: Fixed width CMPS

The width of the navbar is still going to be controlled by your default width setting.
Reply With Quote
  #5  
Old 01-23-2006, 09:29 PM
thinkharder thinkharder is offline
Junior Member
 
Join Date: Jan 2005
Posts: 5
Default Re: Fixed width CMPS

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

Last edited by thinkharder; 01-23-2006 at 09:43 PM.
Reply With Quote
  #6  
Old 02-09-2006, 06:09 PM
cdembek cdembek is offline
Member
 
Join Date: Nov 2005
Posts: 85
Default Re: Fixed width CMPS

how did you fix it?
Reply With Quote
  #7  
Old 02-09-2006, 08:11 PM
thinkharder thinkharder is offline
Junior Member
 
Join Date: Jan 2005
Posts: 5
Default Re: Fixed width CMPS

I can't remember now, sorry
Reply With Quote
  #8  
Old 02-27-2006, 06:18 AM
Decipher Decipher is offline
Addicted to PHP
 
Join Date: Feb 2006
Posts: 62
Default Re: Fixed width CMPS

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...
Reply With Quote
  #9  
Old 01-14-2007, 11:49 PM
vpa021 vpa021 is offline
Junior Member
 
Join Date: Dec 2005
Posts: 2
Default Re: Fixed width CMPS

Exactly what i was looking for thanks dude worked like a charm
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
misalignment using fixed width mindbuster Troubleshooting & Problems 3 08-22-2005 02:10 PM
Center Colum Fixed Width deb0 Troubleshooting / "How do I..." Questions 2 03-20-2005 09:11 PM
Fixed width vs Dynamic sites? apokalupsis Chit Chat 9 07-26-2004 06:51 PM


All times are GMT -4. The time now is 05:25 PM.

Forums Powered by vBulletin, Copyright ©2000-2009, Jelsoft Enterprises Ltd.
Please note that vBadvanced is in no way affiliated with Jelsoft Enterprises Ltd, nor will Jelsoft be able to provide any support for our products.