Shape 5

Joomla Templates => Simplex - Club => : kiesel July 21, 2011, 02:45:02 AM



: repeat-x/y bacground
: kiesel July 21, 2011, 02:45:02 AM
Hello dear,

I want to change background repeat to repeat-x/y but I have find only one posibility to fix it and this doesn?t work. I have change default.css file and there is no change. Please help. My fix is:

body  {
   color:#191919;
   background:#dfdfdf url(../images/background.png) repeat-x;
   font-size:0.8em;
   line-height:155%;}

Vertex changes background by id="s5_body" but i cant?t find where is the css file.

Michal


: Re: repeat-x/y bacground
: mikek July 21, 2011, 07:46:20 AM
Hello,

The background is controlled in the template's index.php file with:

<body id="s5_body" style="background:url(<?php echo $s5_sitebackground;?>) repeat;">

There is really no such thing as a repeat-x/y though. If you want it to cover the entire site it will do that automatically. If you want just a horizontal repeat change it to repeat-x or vertical repeat-y.