Shape 5

Joomla Templates => Eden Rock - April 08 - Club => : kiwinterri November 10, 2010, 09:59:10 PM



: background image
: kiwinterri November 10, 2010, 09:59:10 PM
Hi Guys I am trying to make a background image from this -

<body <?php if($s5_body_color != "xxxxxx") { ?>style="background-color:#<?php echo $s5_body_color ?>"<?php } ?>>

to this

<body background="images/cow_background.gif">

its not working so I must have something wrong, any ideas appreciated.


: Re: background image
: jleckenby November 11, 2010, 08:03:43 AM
the code would be:

:
<body style="background: url('images/cow_background.gif');"> 


: Re: background image
: kiwinterri November 11, 2010, 04:05:29 PM
Hi Thanks for that, its worked but it took out the image for logo at the top

body  {
   background:url(../images/logo.png) no-repeat top center;
    font-family: Helvetica; }

If its to much drama dont worry, I just wanted to replace the white background in the middle of the template but leave the top and footer images in place.

Cheers


: Re: background image
: jleckenby November 12, 2010, 05:53:53 AM
Hi it would, as you can't have two background images on the same element, the one i changed would override the other. The best idea is to create a background with all the things you want in :)

James