Shape 5

Joomla Templates => Sportopolis - Club => : henerom July 22, 2009, 03:08:20 PM



: Background Down and Across
: henerom July 22, 2009, 03:08:20 PM
Old hat for you...all new to me...

I want to use a parchment image URL as background. I want it to complete fill the screen down and across (similar to how the parchment fills across the New Architect template). How do I do it?

As a first attempt, I replaced the s5_background.jpg with a parchment image of the same size (1500 x 1149). It didn't work. The parchment image is mostly hidden; only the very top shows.

I assume that I have to edit the CSS template in some way. Can you point me in the right direction. Thanks.



: Re: Background Down and Across
: mikek July 23, 2009, 07:57:30 AM
At the top of the template_css.css file you will find:

body  {
    font-family: tahoma;
   background:url(../images/s5_background.jpg) no-repeat top center;
   color:#333333;
   }

Change that to:

body  {
    font-family: tahoma;
   background:url(../images/s5_background.jpg)r;
   color:#333333;
   }


Then make your s5_background.jpg a repeating background image.


: Re: Background Down and Across
: henerom July 23, 2009, 09:45:01 PM
I must be missing something.

As instructed I modified the template CSS by adding the letter "r" to a line of code. Appending "r" to the code was the only change I could discern.

I then replaced the S5_background.jpg with my parchment image of the same name. Nothing changed. I then fooled around with various image sizes ranging from 1 pixel x 10 pixel to 1 pixel x 1400 pixels, etc.  Still no change.

Also, I now see that Template CSS is "unwritable." What's up with that?

Thanks for your help.


: Re: Background Down and Across
: mikek July 24, 2009, 08:24:06 AM
Please post a url.