Create A Forum - Support Forums
Support => Style Support => Topic started by: Silver734 on August 26, 2013, 07:10:18 pm
-
How can I do this? I just need the line in the stylesheet.
-
body {
background-color: hex code here; //background color
background-image: url('url here'); //background image
}
-
thanks!
-
Confused. Didn't work for me. I think I used the code wrong.
-
Confused. Didn't work for me. I think I used the code wrong.
Maybe you should post the code
EDIT: I wrote the code for background color wrong
-
Do I have to fill in both?
-
Figured it outsupportJust slightly edit the new year's theme
change the url of the first thing that says background
-
Why this doesn't work for me? This is my code:-
body {
background-color: hex code here; //background color
background-image: url('http://i.imgur.com/xjlgTsN.jpg'); //background image
}
-
Firstly, did you replace the existing code for background image in the body {} or did you simply added this one in? If you just added it in, it probably won't work because it'll conflict with existing code.
Secondly, if you're not going to use the background-color, then remove that line.
-
Do I post my code in headers, footers, meta tags, or somewhere else? The following code is currently in my footers:
body {
background-image: url('http://www.cgadvertising.com/media/Maps/3/abstract-design.jpg'); //background image
}
It didn't work. It just added the code to my footers. See here:
http://theforumofawesomeness.createaforum.com (http://theforumofawesomeness.createaforum.com)
-
It needs to be added into your style, I suggest you read the sticky topics in this board.