Background

Rate this topic: Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.
GK User
Thu Feb 28, 2013 7:10 pm
Reply with quote
Report this post
Hello,

I want to know if i can put a background in this site.
User avatar
Junior Boarder

GK User
Thu Feb 28, 2013 11:14 pm
Reply with quote
Report this post
Hi, no problem - there is few method to do this.
You have to overwrite this line of css code:
Code: Select all
 background: none repeat scroll 0 0 #FFFFFF;

for body { .... } in template.css

Go to: Template Manager --> GK News --> Advanced settings (TAB) --> and insert in "Custom CSS code" field your version of "body" style, for example:

Code: Select all
body {  background: #03A0DA; }

and use SAVE button

Educate Yourself: http://www.w3schools.com/css/css_background.asp
User avatar
Platinum Boarder

GK User
Fri Mar 01, 2013 12:28 am
Reply with quote
Report this post
Thanks for your reply but im not meaning this. Maybe it was my mistake. I want to put an image as background in my site.
User avatar
Junior Boarder

GK User
Fri Mar 01, 2013 7:09 pm
Reply with quote
Report this post
Hi, I assumed that you know the basics of CSS, If not :

1) Copy background image from your HDD to server - for example here /image
2) Insert this code (below) where I wrote you earlier:
Code: Select all
body {  background: #03A0DA  url('image/bg.png'); }


If you want to repeat image only horizontally add: repeat-x !

Code: Select all
body {  background: #03A0DA  url('image/bg.png') repeat-x; }
User avatar
Platinum Boarder


cron