News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Background Fixed

Started by Apozen, January 03, 2013, 09:32:27 PM

Previous topic - Next topic

Apozen

Good evening,

I would like the background of my SMF site to stay fixed in position. How would I go about doing this easily?
I've read you put something like

body{
background-image: url(IMAGE_URL);
background-color: #COLOR;
background-repeat: no-repeat;
}

in a CSS file, but which one? Would that even work?
Thanks in advance.

Kindred

Index.css

However, you don't want to separate it into individual statements like that... And you need a position and a fixed statement.

Go ahead and look up the CSS options for background.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Advertisement: