Page 1 of 1

{SOLVED}Need image to load outside css and content tag

Posted: Thu Nov 15, 2007 8:50 pm
by dmagill
Hello!

On my home (front) page, I need the layout to be different then the rest of the site. I have an image that loads on the front page and in my static code I use a table to control the spacing. In the CMS I don't have that option. When I add the image it is within the div and the spacing is all wrong. If I put the div controlling the space inside the content box and spacing is also wrong.

http://resultsmedia.on.ca/transfer/hamelins/home.html
You will see an image of the store front to the right of the screen.

If any one knows a better way, please let me know.

Thank you!

D

Re: Need image to load outside css and content tag

Posted: Thu Nov 15, 2007 9:38 pm
by streever
allo,

I would go into your template, like this:

Your content
{content block='homeImage'}

Now, in your live site, whatever you enter into that content block (which appears on the page editor page!! just below the main content area) will appear :D!!!!!!!!!!

[SOLVED] Re: Need image to load outside css and content tag

Posted: Mon Nov 19, 2007 6:04 pm
by dmagill
Thank you streever! I didn't even think of doing a block!!! Works perfectly... So much information, that I had to re-read several parts a few times to grasp what I was doing.  ;)


Thank you again!

Re: Need image to load outside css and content tag

Posted: Mon Nov 19, 2007 6:10 pm
by streever
awesome :D I'm glad to be of help!!