Shape 5

Joomla Templates => Portfolio Bonus - Club => : kiwinterri August 10, 2010, 11:18:13 PM



: Center background image
: kiwinterri August 10, 2010, 11:18:13 PM
Hi i want to center the background image on this template and do not want it to repeat

I believe this is the code I need to edit? Can you please re-write this to center the background image.

<body style="background:<?php echo $s5_backcolor; ?> url(<?php echo $s5_headerback; ?>) repeat;">
<div style="background:transparent url(<?php echo $s5_backimage; ?>) repeat-x;">


Also for the right module I need a transparent background - is this the css to edit? - s5_whitemodrightwrap
How would I go about this

cheers


: Re: Center background image
: kiwinterri August 10, 2010, 11:42:42 PM
Hi guys, I also need to take out the header where the top navigation is displayed, is this going to be hard? or a nightmare?


: Re: Center background image
: jonahh August 11, 2010, 12:00:56 PM
Hello,

Here are the changes that need to be made:

<body style="background:<?php echo $s5_backcolor; ?> url(<?php echo $s5_headerback; ?>) no-repeat center top;">
<div style="background:transparent url(<?php echo $s5_backimage; ?>) no-repeat center top;">

To remove the top menu you'd have to look for "<div id="s5_topmenubar">" in your index.php file and remove all contents in between this and the ending div tag.

And to remove the right side background add the following to the bottom of your template css file

.s5_whitemodleftwrap {
background:transparent;}


: Re: Center background image
: kiwinterri August 12, 2010, 10:33:32 PM
thankyou for your help


: Re: Center background image
: 12flamingo March 03, 2011, 10:05:31 AM
In which file is the code to edit the bagground found?

thanks in advance


: Re: Center background image
: jonahh March 03, 2011, 03:40:06 PM
The index.php file included in the template