Forum Support

Shape 5
March 28, 2024, 11:34:21 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Shape 5 Forum
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: repeat-x/y bacground  (Read 399 times)
kiesel
Jr. Member
**
Offline Offline

Posts: 5



« on: 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
Logged
mikek
Administrator
*****
Offline Offline

Posts: 28743



WWW
« Reply #1 on: 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.
Logged

Mike Knott
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Looking for the largest variety in template designs? Look no more. Never buy 1 theme again. Signups start at just $89 for access to all of our themes.
Send Us An Email
Please send us your questions and we will email you back as soon as we can. Product support questions should be posted in our support forums under the Help menu. Our staff will assist you from there.