customizing page width
David Buchanan says:
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.
Posted at 1:43 AM on December 9, 2009
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.
Posted at 9:31 AM on December 9, 2009
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
What's the address of the site - I'll take a look.
Posted at 2:12 AM on December 9, 2009
Posted at 4:56 AM on December 9, 2009
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="960"/>
Posted at 9:26 AM on December 9, 2009
Posted at 9:30 AM on December 9, 2009
Posted at 9:31 PM on December 9, 2009