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

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Post Reply
dmagill
Forum Members
Forum Members
Posts: 165
Joined: Thu Nov 15, 2007 6:55 pm

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

Post 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
Last edited by dmagill on Thu Apr 26, 2012 2:04 pm, edited 1 time in total.
streever

Re: Need image to load outside css and content tag

Post 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!!!!!!!!!!
dmagill
Forum Members
Forum Members
Posts: 165
Joined: Thu Nov 15, 2007 6:55 pm

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

Post 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!
streever

Re: Need image to load outside css and content tag

Post by streever »

awesome :D I'm glad to be of help!!
Post Reply

Return to “Layout and Design (CSS & HTML)”