TinyPortal

Development => Support => Topic started by: marinelife on April 10, 2008, 03:11:23 PM

Title: Fixed Width
Post by: marinelife on April 10, 2008, 03:11:23 PM
SMF 1.1.4 with TP 1.0.5 beta 1

I have the fixed width set within the tinyportal settings but it does not hold. My site goes full page.

I have is set to 942 width
www.usmas.org
Title: Re: Fixed Width
Post by: G6Cad on April 10, 2008, 03:42:11 PM
du you have any content in the center that are wider the theme will not set to a fixed with, the center articles will stay fixed
When you set a fixed width you have to calculate both panels width, center content ( images ) and block content
Title: Re: Fixed Width
Post by: marinelife on April 10, 2008, 03:57:29 PM
The Center Article does not have a set width, never has in the past and was fine. I will have to set a width them.
Title: Re: Fixed Width
Post by: G6Cad on April 10, 2008, 04:03:16 PM
No, dont get me wrong, the image in use have a fixed width, not the center article or block.

To get the site to have a fixed width, you need to make sure that the panels/ left right and  centercontent  are within that width you want to have

Lets say you have an image that are 1000pix wide in the center, and then panels on the side that are 150pix wide the site width can not be less then 1300pix + the 4pix space between the panels and center so 1308 pix is the smallest width you can set your forum if your content are the way i described.
Title: Re: Fixed Width
Post by: Jpg on April 10, 2008, 04:14:10 PM
You do not have a fixed width.
Seems to be 100%.
You'll have to make a new surrounding <div> and set the style="width:1000px;" in order for that to work.
Title: Re: Fixed Width
Post by: marinelife on April 10, 2008, 05:10:46 PM
ok I get what you are saying, I just was looking at the site with a larger set resolution and notice if it was not a fixed width like before and I changed nothing but updated TP, the settings in TP are still set to overall 942 fixed width. The center image is set to 525

Quote from: G6 on April 10, 2008, 04:03:16 PM
No, dont get me wrong, the image in use have a fixed width, not the center article or block.

To get the site to have a fixed width, you need to make sure that the panels/ left right and  centercontent  are within that width you want to have

Lets say you have an image that are 1000pix wide in the center, and then panels on the side that are 150pix wide the site width can not be less then 1300pix + the 4pix space between the panels and center so 1308 pix is the smallest width you can set your forum if your content are the way i described.
Title: Re: Fixed Width
Post by: marinelife on April 10, 2008, 05:46:40 PM
TinyPortal - General Setting
Set fixed width ( in pixels - Use 0 for 100% width )

That is the setting I am setting to 942 and even if I change the number it does nothing, before it would make the site all stay at whatever I set it for, I never had to edit anything, if a picture was to large or some test was to much it would just cut the picture or text off it the past.
Title: Re: Fixed Width
Post by: Jpg on April 10, 2008, 06:15:50 PM
That doesn't work I think.
Unless it's coded into the theme.

You'll have to edit your index.template.php
Title: Re: Fixed Width
Post by: marinelife on April 10, 2008, 06:19:07 PM
Yeah that was why I posted, it work in the last TP version, my theme is just core with image files changed. I will look at index.template to set it.