Changing the layout width

May 13, 2006 12:51

I'm using the smooth sailing layout for a community -- I haven't done anything to modify it except for choosing the 'under fire' colour scheme.

I'd like to modify the theme so that it's 800 pixels wide and centred and doesn't stretch to fit the browser. How would I go about doing this?

The community does have a paid account.

Leave a comment

Comments 3

ratofthelab May 13 2006, 20:41:27 UTC
When customising Smooth Sailing you can add custom CSS using the "Custom Stylesheet Information" option of the "Layout" tab. One way you could do what you're asking is to add custom CSS like:

.pageblock { width:800px; margin:auto }

Though its worth noting that anything you add to that box shouldn't contain line breaks, or it'll cause issues. (If it's not on one line,
tags get put into it before it gets sent to the CSS cleaner - which the cleaner flags as suspect and prevents the CSS being used)

Reply

wishforhome May 13 2006, 22:00:17 UTC
It works! Thank you!

Reply

dragonelf_2002 May 14 2006, 09:26:52 UTC
(If it's not on one line,
tags get put into it before it gets sent to the CSS cleaner - which the cleaner flags as suspect and prevents the CSS being used)

This explains why the CSS cleaner complained about CSS a couple of times when I tried to add some CSS.

Reply


Leave a comment

Up