TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,963
  • Latest: BiZaJe
Stats
  • Total Posts: 195,917
  • Total Topics: 21,308
  • Online today: 629
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 410
  • Total: 410

Fixed Width

Started by marinelife, April 10, 2008, 03:11:23 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

marinelife

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

G6Cad

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

marinelife

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.

G6Cad

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.

Jpg

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.

marinelife

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.

marinelife

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.

Jpg

That doesn't work I think.
Unless it's coded into the theme.

You'll have to edit your index.template.php

marinelife

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.

This website is proudly hosted on Crocweb Cloud Website Hosting.