Where edit and how change the background

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Sat Oct 05, 2013 11:39 pm
Reply with quote
Report this post
I use the style 2 Blue color. Where and what file should i edit? I want to use a image as a background. What is the code i need to use, and where should i put it?

Thanks,
User avatar
Fresh Boarder

GK User
Sun Oct 06, 2013 3:41 am
Reply with quote
Report this post
You can use following css code in override.css located inside templates css folder and then enable css override option in template settings > advanced settings > css override "on".

Change file name and make sure your image is uploaded inside templates folder > images.
Code: Select all
body { background: url('../images/mybackground.png'); }


You might need additional css code depending on your image size etc.

See you around...
User avatar
Platinum Boarder

GK User
Sun Oct 06, 2013 8:37 am
Reply with quote
Report this post
That worked! BUT when i change it, the whole background within the text and everything changed. I only want the sides to have the background and not the middle also. Is there a way to fix this?
User avatar
Fresh Boarder

GK User
Sun Oct 06, 2013 8:56 am
Reply with quote
Report this post
Can you post your website link so we can check.
User avatar
Platinum Boarder

GK User
Sun Oct 06, 2013 10:05 am
Reply with quote
Report this post
http://soccerbetting.me

I turned the background back again.
User avatar
Fresh Boarder

GK User
Sun Oct 06, 2013 10:42 am
Reply with quote
Report this post
I don't see any background.

What is your image location and name so I will test it from browser
User avatar
Platinum Boarder

GK User
Sun Oct 06, 2013 11:00 am
Reply with quote
Report this post
Okey, i have now changed it back. Here are the url to the image: http://soccerbetting.me/images/bg.jpg
User avatar
Fresh Boarder

GK User
Sun Oct 06, 2013 4:20 pm
Reply with quote
Report this post
Also add following css code

Code: Select all
#gkContentTop, #gkPageContent, #gkBottom2, #gkFooter {
    background: #fff!important;
}


See you around...
User avatar
Platinum Boarder

GK User
Sun Oct 06, 2013 5:50 pm
Reply with quote
Report this post
Thanks it's working now :) 2 small things... :

How can i make the background not getting repeated? I want it to standing still while scrolling down the page.

Why is the logo i uploaded not the same size as the image it self. It's very very small :/
User avatar
Fresh Boarder

GK User
Sun Oct 06, 2013 6:31 pm
Reply with quote
Report this post
Replace background css with below css

Code: Select all
body {
    background: url("/images/bg.jpg") no-repeat fixed 0 0;
}


And below for logo fix

Code: Select all
#gkLogo {
    height: 40px;
    margin: 5px 30px 10px 0;
    width: 350px;
}


And footer fix

Code: Select all
#gkFooter { padding: 16px 15px 0; }


And Search box fix

Code: Select all
#mod-search-searchword { margin-top: 3px; }


See you around...
User avatar
Platinum Boarder


cron