Forum Support

Shape 5
March 29, 2024, 01:01:15 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: background  (Read 876 times)
jimmyraza
Jr. Member
**
Offline Offline

Posts: 55



« on: January 08, 2014, 10:45:53 AM »

Hi

Can you send me overide for background to repeat as half of the website is black

www.ukticketadvisor.com
Logged
mikenicoll
Global Moderator
*****
Offline Offline

Posts: 20162



WWW
« Reply #1 on: January 09, 2014, 06:49:39 PM »

Hello,

In the index.php file on your server adjust the no-repeat below to repeat.

#s5_body_padding {
    background: url("http://www.ukticketadvisor.com/images/top_bg.jpg") no-repeat scroll center top / 100% auto rgba(0, 0, 0, 0);
}

-Mike
Logged

Mike Nicoll
------------
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
jimmyraza
Jr. Member
**
Offline Offline

Posts: 55



« Reply #2 on: January 10, 2014, 02:56:58 PM »

Hi
This actually makes the same image repeat, I actually wanted the image to scroll with the scroll bar

http://www.ukticketadvisor.com/
Logged
mikenicoll
Global Moderator
*****
Offline Offline

Posts: 20162



WWW
« Reply #3 on: January 10, 2014, 10:08:40 PM »

Alright so in that same code you would change "scroll" to "fixed"

-Mike
Logged

Mike Nicoll
------------
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
jimmyraza
Jr. Member
**
Offline Offline

Posts: 55



« Reply #4 on: January 12, 2014, 02:30:13 PM »

Hi

there was no code for scroll so i added as follows but it didnt work

#s5_body_padding {
background:url(<?php echo $LiveSiteUrl; echo "images/"; echo $s5_background_top; ?>) repeat top center; scroll:fixed;
background-size:100%;
}

Logged
mikenicoll
Global Moderator
*****
Offline Offline

Posts: 20162



WWW
« Reply #5 on: January 12, 2014, 10:12:17 PM »

Hello,

PHP you would have to do it differently but you can just add this to the custom.css for the same effect.

#s5_body_padding {
     background-attachment: fixed !important;}
}


-Mike
Logged

Mike Nicoll
------------
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
jimmyraza
Jr. Member
**
Offline Offline

Posts: 55



« Reply #6 on: January 13, 2014, 10:21:56 AM »

Hey Mike,

for some reason i am unable to upload custom css file, everything else is being uploaded

i am gonna send you ftp details
Logged
mikenicoll
Global Moderator
*****
Offline Offline

Posts: 20162



WWW
« Reply #7 on: January 13, 2014, 07:44:16 PM »

Alright,

I will take a look and get back to you.

-Mike
Logged

Mike Nicoll
------------
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.