Welcome to the E-Blah Community!
We would like to welcome you to our community and invite you to register an account or login.
Being a registered member is important, as it gives you several advantages over the normal Guest status. After registering you will be able to download files and images, post messages, and access member-only portions of the forum - just to name a few. Registration is quick and simple, and only takes about a minute of your time.

E-Blah Community    E-Blah Discussion    Themes and Images  ›  Help Me adjust X2 theme to an 800px-wide template.
Users Browsing Forum
No Members and 2 Guests

Help Me adjust X2 theme to an 800px-wide template.  This thread currently has 451 views. Print
1 Pages 1 Recommend Thread
BB-freak
May 9, 2007, 1:44pm Report to Moderator Report to Moderator

Thank you eBlah for the great Forum Script!
E-Blah Member
Posts: 21
Posts Per Day: 0.02
Time Online: 7 hours 35 minutes
Location: Boulder, CO
Age: 27
Hey folks,

I run a forum on my site which uses a global template for structuring my pages, primarily featuring an 800px wide table that contains everything. Back in Platinum 9, I did alright restructuring the Winter theme template to fit within my global template.

But, I'm just not experienced enough with CSS to understand the new features of the X2 stylesheet, and how to make it work in my 800px template. I was able to fit the theme template into my table, but somehow it always seems to make my table wider than 800px. I have done things like resize the button images, change the font size, remove margins, etc., but somehow that's not doing the trick.

Would some hot-shot stylesheet programmer help me out with these documents? I've attached my existing Winter theme template that is working o.k., and it's stylesheet, and maybe someone can at least show me where the new X2 theme sets (or doesn't set) some width parameters? Note: my winter stylesheet is the same stylesheet I use for the whole site, so it has a few other variables built in.

Much appreciated!



This post contains attachments; to download them you must login.



Pure Backountry – http://www.backcountryclub.org
Logged Offline
Site Site Private Message Private message AIM AIM YIM YIM
Martin
May 9, 2007, 2:51pm Report to Moderator Report to Moderator

I love E-Blah
10 Series Support Team
Posts: 4,558
Gender: Male
Posts Per Day: 3.13
Reputation: 98.60%
Reputation Score: +211 / -3
Time Online: 35 days 19 hours 25 minutes
Location: UK
Age: 50
Edit the template.css and change the first 2 statements to this:

Code
/* Default Theme Layout */
#container {
	width        : 800px;
	margin       : auto;
	padding      : 0;
	border       : 3px solid #FFBF00;
	margin-top   : 0;
	border-top   : 0;
	margin-bottom: 10px;
	background   : #FFF;
	text-align   : center;
}

#copyright {
	width : 800px;
	margin: auto;
}



Martin's Reputation: Increase

Revision History (1 edits)
Martin  -  May 9, 2007, 3:34pm
Logged Offline
Site Site Private Message Private message Reply: 1 - 2
BB-freak
May 11, 2007, 12:40pm Report to Moderator Report to Moderator

Thank you eBlah for the great Forum Script!
E-Blah Member
Posts: 21
Posts Per Day: 0.02
Time Online: 7 hours 35 minutes
Location: Boulder, CO
Age: 27
Thank you. That also helped. The last thing I had to update was the new post or reply post formatting tools. In both Message.pl and Post.pl, I had to adjust the html formatting to make two rows of text formatting tools instead of one. Everything else in the CSS doesn't affect width. I think I might have eliminated a few "nowrap" affects.


Pure Backountry – http://www.backcountryclub.org
Logged Offline
Site Site Private Message Private message AIM AIM YIM YIM Reply: 2 - 2
1 Pages 1 Recommend Thread
Print

E-Blah Community    E-Blah Discussion    Themes and Images  ›  Help Me adjust X2 theme to an 800px-wide template.