Welcome

Login to contribute. Register if you haven't yet.

Support Options

1. Search this site.
2. Make or vote for a Suggestion.
3. Post to Community Support.
3. Contact EditMe Support staff.

Stay Informed

Keep informed of product changes, tutorials and tips via EditMe's Blog and monthly newsletter.

customizing page width

Forums / Questions

David Buchanan says:

Hey Matt!

I would like to expand the page size to take up most of the browser window so I can add new space for ads. I am using both of the Yorktown layouts in my site.  Can I expand the page size and use some of the colored free space on each side of the page?  If so, which settings do I need to change.

Regards,

David

Posted at 1:43 AM on December 9, 2009


matt staff says:

David,

Edit your style sheet and look for #page_margins. The max-width and min-width parameters define the width of the content area. Note that Yorktown uses an image-based banner, which will not automatically resize to a new width, so you'll want to create a new banner image with the appropriate width and upload it using the Skin Settings screen.

Cheers,
MW

Posted at 9:31 AM on December 9, 2009

David Buchanan says:

My new banner is not appearing.

I have successfully changed the page size.  I copied and resized the current banner to match the page size and uploaded it to my site.  I clicked on the new banner so it is highlighted in yellow.  And I have refreshed my browser, but the re-sized banner does not appear.

I notice that on the Banner page of the Skin Settings page it says to 'Click any of the available header images and confirm to apply.'  I have clicked on the banner I want but there is no button to "confirm".

Posted at 12:34 AM on December 9, 2009

matt staff says:

David,

What's the address of the site - I'll take a look.

MW

Posted at 2:12 AM on December 9, 2009

David Buchanan says:

http://chefs-resources.editme.com/

Thanks Matt

Posted at 4:56 AM on December 9, 2009

matt staff says:

Ah, my bad. The image tag in the layout has 960px hard-coded to allow people to upload wrongly sized images without everything going to pot. I changed the width attribute on this line of your layout from 960 to 1020 (the width of your new banner):

       <img editme="attr src '/files/YorktownSettings/'+localSettings.banner ;; attr alt site.title" width="1020"/>   

<img editme="attr src '/files/YorktownSettings/'+localSettings.banner ;; attr alt site.title" width="960"/>   

Cheers,
MW

Posted at 9:26 AM on December 9, 2009

David Buchanan says:

Posted at 9:30 AM on December 9, 2009

David Buchanan says:

Matt,

You rock!

Thank-you

Posted at 9:31 PM on December 9, 2009

You must log in to reply