Link to my site: http://www.reenactor.net/forums/index.php
SMF version: 1.1.13
TP version: 1.0 RC1
Default Forum Language: English
Theme name and version: primary theme: TP Meadows
Browser Name and Version: Firefox 3.6.16
Mods installed: Below
Related Error messages: I have a problem with the theme. I know this has to be something stupid, but I don't know how. My site uses mainly modified default themes, other than the tpmeadows one. Anyway, on big monitors, it let's the page spread out and looks, well, stupid. I would like to constrain the table to about 950-1000 pixels wide. What I am asking is where do I modify which file to allow me to change this? A good example of this problem is on my Civil War page at: http://www.reenactor.net/forums/index.php/page,20.html (http://www.reenactor.net/forums/index.php/page,20.html).
Mods installed:
1. Ad Managment 2.3
2. Amazon ISBN & ASIN Mod 1.1 Want to rem, won't let me
3. Auto Embed Video Clips 1.2
4. SMF 1.0.16 / 1.1.8 Update 1.0
5. Buy Me A Beer 1.1
6. Custom Profile Field Mod 3.19
7. Favicon 1.0 [ List Files ] [ Delete ] Want to rem as it doesn't work, won't let me
8. FontandSizeDropdown_1.2 1.2
9. Global Announcements 1.0
10. Global Headers Footers 1.3 Want to rem, won't let me
11. Lots_o_Smileys 1.0
12. Member Awards 1.0.2
13. Member Color Link 2.0.0
14. Moderator Activity Report for SMF1.1.2 1.2
15. MySpace Field 2.4
16. Redirection Boards 2.01
17. Registered Images ENG 2
18. Repeating Calendar Events v1.2.6 1.2.6
19. SMF Gallery Pro Upgrade 1.4.2
20. SMF Gallery Pro Upgrade 1.4.3
21. SMF Staff Page 1.5.1
22. SMF 1.1.2 Update Package 1.1.2
23. SMF Gallery Pro 1.3.21
24. SMF 1.0.12 / 1.1.4 / 2.0 b1.1 Update 1.0
25. SMF 1.0.13 / 1.1.5 / 2.0 b3.1 Update 1.0
26. SMF 1.0.14 / 1.1.6 Update 1.0
27. SMF 1.0.15 / 1.1.7 Update 1.0
28. SMF 1.0.11 / 1.1.3 Update 1.1
29. Spam Me Not Mod 1.02
30. TinyPortal 1.075
31. Users Online Today Mod 1.4.0
32. SMF Gallery Pro Upgrade 1.4.5
33. Ultimate Profile 0.8.5 Want to change to v.9, but won't let me uninstal this one to do so >:-(
34. Social Bookmarks 1.1
35. Links 1.0
36. SMF 1.0.17 / 1.1.9 / 2.0 RC1 Update 1.0
37. TinyPortal 1.083
38. SMF 1.0.18 / 1.1.10 / 2.0 RC1-2 Update 1.1
39. FCKEditor4TP 1.0
40. SMF 1.0.19 / 1.1.11 Update 1.0
41. SMF 1.0.19 / 1.1.11 Update 1.0
42. SMF 1.0.19 / 1.1.11 Update 1.0
43. SMF 1.0.19 / 1.1.11 Update 1.0
44. SMF 1.0.19 / 1.1.11 Update 1.0
45. Ultimate Profile 0.9 [ List Files ] [ Delete ]
46. SMF 1.0.19 / 1.1.11 Update 1.0
47. TinyPortal 1.102
48. SMF 1.0.19 / 1.1.11 Update 1.0
49. SMF 1.0.20 / 1.1.12 Update 1.0
50. SMF 1.0.21 / 1.1.13 Update 1.0
51. PM On Registration 1.0
Marsh,
It sounds like the theme is using a percentage for the Forum width rather than a particular width in pixels. For the most part, this is the best way to handle widths for different resolutions. The most common screen resolution in use these days is 1024 X 768 (see this link --> http://www.screenresolution.org/). I just viewed both of the sites you linked with 1280 X 800, the second most common resolution, and they both look great.
Your issue is really not a TinyPortal issue but if you really want to change the width of your Forum, one of the best tools to figure out where to look is Firebug, an addon for Firefox. Most of the time, the screen width of the Forum will be defined somewhere in the index.css file for the theme. If it is set to a percentage, you could switch to pixels but the Forum might not show up right with some browsers, like mobile phones and others. If you can't figure it out, the best person to ask about it is the author of your theme (rebelrose, isn't it?).
ZarPrime
Quote from: ÇɯıɹdɹÉz on March 31, 2011, 04:11:28 PM
Marsh,
It sounds like the theme is using a percentage for the Forum width rather than a particular width in pixels. For the most part, this is the best way to handle widths for different resolutions. The most common screen resolution in use these days is 1024 X 768 (see this link --> http://www.screenresolution.org/). I just viewed both of the sites you linked with 1280 X 800, the second most common resolution, and they both look great.
I just want to make it about 950 pixels wide. It works there and like on my monitor, a 21" it's irritating. Yes, I'm being controlling--it comes from my desktop publishing days.
QuoteYour issue is really not a TinyPortal issue but if you really want to change the width of your Forum, one of the best tools to figure out where to look is Firebug, an addon for Firefox. Most of the time, the screen width of the Forum will be defined somewhere in the index.css file for the theme. If it is set to a percentage, you could switch to pixels but the Forum might not show up right with some browsers, like mobile phones and others. If you can't figure it out, the best person to ask about it is the author of your theme (rebelrose, isn't it?).
In the case of most of my time areas, it's just a mod of the default theme. I find that easier than other stuff. Rose has disappeared. I e-mail and get nothing AND her site is all infected w/ malicious code. Well, her forum, anyway. Besides, the main theme I use is complicated. Well built, but complicated. I have had limited success monkeying around w/ that theme :-[
I will try firebug again, but I think I did try it and that didn't work. What do I know? I'm just a dumb-ass truck driver :-Þ
Firebug is neat and I have it. I used it to play w/ the stuff I saw w/ percentages. I found one that would constrain the main body like I wanted, but it is then align left >:( The others, when I do it. only constrain PART of the headers and I cannot, no matter how I play w/ it, get them to change that.
I was kind of hoping it would be something simple. Some things in the CSS are. And are easy to find. I was making anew theme for Roman stuff (http://www.reenactor.net/forums/index.php/page,116.html) last night and wanted to change the "articles" box. No matter what I did w/ firebug, I could not find it. However, i am not really proficient w/ firebug -- it IS a great idea and it has helped many times though. In this case, I also could not figure out how to keep the main links from changing the colour of the nav bar text above. Blue is not what I wanted :tickedoff: The rollover worked though... D'OH! :P
As to size, my site is really too big to use on a cell phone, I've tried it, but it either takes forever to load or crashes.
Thanks for you help. Sometimes I think, w/ the help of the TP people, I might retain enough of this to make it all work. :idiot2:
Well, I couldn't find it either but the problem is probably that it's such an old theme, it likely doesn't use the same methods as newer themes that I'm more familiar with do.
I'll take a look at it again, but give me a link to the actual site again where you are wanting to changing the width, just to refresh my memory. You gave me 2 links, using 2 different themes, and I'm not sure which one you are actually trying to change.
ZarPrime
Quote from: ZarPrime on April 06, 2011, 04:09:17 PM
Well, I couldn't find it either but the problem is probably that it's such an old theme, it likely doesn't use the same methods as newer themes that I'm more familiar with do.
I'll take a look at it again, but give me a link to the actual site again where you are wanting to changing the width, just to refresh my memory. You gave me 2 links, using 2 different themes, and I'm not sure which one you are actually trying to change.
ZarPrime
Actually, the one(s) I really need to change are all just slight mods of the
default theme. http://www.reenactor.net/forums/index.php/page,20.html (http://www.reenactor.net/forums/index.php/page,20.html) is one of them, http://www.reenactor.net/forums/index.php/page,23.html (http://www.reenactor.net/forums/index.php/page,23.html) is another and http://www.reenactor.net/forums/index.php/page,116.html (http://www.reenactor.net/forums/index.php/page,116.html) a third. I just make the different time areas a different theme so that I can change the page description and keywords, etc. along w/ making them look more, I dunno, time period-themed :P
Right now, it's acting especially stupid in that we are trying to add some amazon book code (that I have used for YEARS) and it is adding characters and stuff into the edit window, thus messing up the book links. Not only my assistant's in Cali, but mine here in PA. My head
IS going to explode.
OK, on the first one, the only way I can see to affect the body width is to add some padding to it (see attached image below) ...
body {
background-attachment: fixed;
background-color: #EDECEA;
background-image: url("http://www.reenactor.net/forums/Themes/civil_war/images/acw_bg1.jpg");
background-repeat: repeat;
margin: 0;
padding: 12px 30px 4px;
}
padding: 12px 30px 4px;
On the second one, same thing but the maximum pixel width for the padding looks like about 275px and the style.css file is in the ancient theme folder.
On the third one, same thing but the maximum pixel width for the padding looks like about 155px and the style.css file is in the Roman theme folder.
In all cases, the number of pixels for the padding width should not be so high that it changes the position of the top banner.
I hope that this is what you were looking for.
ZarPrime
Is this padding just moving the body over? How will it affect things on diff size monitors? I have a 22", but I'd like it to be much the same on all of them. Will play with though, thanks!!
http://www.reenactor.net/forums/index.php/page,20.html (http://www.reenactor.net/forums/index.php/page,20.html)
The css file for this page is at: http://www.reenactor.net/forums/Themes/civil_war/style.css?fin11
Try adding width:950px to the body, and change margins:0 to margins:auto. You might also want add background-position:center, too.
Line 88:
body{
background-color: #EDECEA;
background-image: url(http://www.reenactor.net/forums/Themes/civil_war/images/acw_bg1.jpg);
background-attachment: fixed;
background-repeat: repeat;
background-position: center;
width:950px;
margin: auto;
padding: 12px 30px 4px 30px;
}
DOINK! PERFECT!!! :) Thanks. You just made my whole day. Now I can fix the site. Woohoo!