I have recently made a new site at http://www.elsecar-heritage-centre.co.uk running CMS made simple v 1.1.
The problem can be viewed on the site above on prett much any page, although is less noticable on the default page. The print button and text in a small box at the top right of the content area is pushed across to the left by the width of the adverts.
I am using the Layout: Left sidebar + 1 column template but have tried to add an extra thin column to the right of the content for displaying adverts and I believe it's my fiddling that has caused this problem.
The changes made to the "Left sidebar + 1 column" stylesheet are I think all in:
Have added 12em margin-right for to give the advert column space and made the width of the advert column 10em.div#main {
margin-left: 29%; /* this will give room for sidebar to be on the left side, make sure this space is bigger than sidebar width */
margin-right: 12em; /* and some air on the right space for adverts */
}
div#sidebar {
float: left; /* set sidebar on the left side. Change to right to float it right instead. */
width: 26%; /* sidebar width, if you change this please also change #main margins */
display: inline; /* FIX IE double margin bug */
margin-left: 0;
}
div#adverts{
float: right; /* set sidebar on the left side. Change to right to float it right instead. */
width: 10em; /* sidebar width, if you change this please also change #main margins */
margin-right: 0;
position: relative; top: 0px; right: -200px;
}
The content part of the template looks like this:
I must admit I am really a newbie in terms of CSS positioning of content so hopefully I have made a simple and stupid mistake that can be easily rectified.
Navigation
{menu template='simple_navigation.tpl' collapse='1'}
News
{news number='3' detailpage='news'}
Adverts
{cms_module module='Banners' category="100x100"}
{print showbutton=true script=true}
{title}
{content}
{anchor anchor='main' text='^ Top'}
{cms_selflink dir="previous" label="Previous page: "}
{cms_selflink dir="next"}
Any help would be much appreciated.
Thanks in advance
Tim Elliott