XMB Forum Software
Not logged in [Login - Register]
Go To Bottom

Printable Version  

[New] Fixed background

New Poster

Posts: 1
Registered: 6-25-2014
Member Is Offline

[*] posted on 6-26-2014 at 10:27 PM
[New] Fixed background

Full Board URL: forum.sioncraft.net
XMB Version: 1.9.11

How do I make a background image fixed?

If someone could tell me the format to use, that would be great.

Thank you.
View user's profile View All Posts By User
XMB Contributor


Posts: 198
Registered: 4-14-2008
Member Is Offline

Mood: Christmasy. Yes, in September.

[*] posted on 6-30-2014 at 05:09 PM

Ok. Lets do this with CSS.

Upload a file (with your FTP client) called "theme.css" to your "Image Directory".

In that css file, add something like this;
body{ background:#1b1309 url(http://www.myforums.net/images/theme33/bg.jpg) top no-repeat; background-attachment:fixed; }

This will add :
a) The following background color to your website #1b1309
b) The following background image to your website http://www.myforums.net/images/theme33/bg.jpg
c) Will put the image at the top, without repeating it.

Read this page, it will explain a lot.

The "Image Directory" you can find here;
Administration Panel --> Themes --> Details

You should have 1 Image Directory for 1 Theme.

Whatever you add here, doesn't matter anymore. As the CSS file should overwrite it "Background (Enter a hex code or an image name):".
I'd just use the same color as in my example above.

View user's profile View All Posts By User

  Go To Top

Powered by XMB 1.9.11 (Debug Mode)
Forum Script Software by XMB © 2001-2020 The XMB Group
[Queries: 16] [PHP: 30.9% - SQL: 69.1%]
Funded with thanks to competitions website.