MyBB Community Forums

Full Version: Static Wallpaper
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I found this code
<head>

<title>Background Absolute Positioning</title>

<STYLE TYPE="text/css">
BODY {background-image: url(APCullen.gif); background-repeat:
no-repeat; background-position: 200px 200px; background-attachment: fixed; }
</STYLE>

</head>
See where it say's Style Type= this is what its calling for= next comes TEXT/CSS that is Cascading Style Sheet

Next you CALL on your Body background Image
here it is APCullen.gif

Next line where it say's=background position is the X=Y pixle position on your Page

See where it says backdround FIXED- that is telling the BG to Stay put

See the /Style,,thats ending the style sheet
all this goes between the <HEAD> here </HEAD> Tags

WhaaaaLaaaa your done

Where would i edit the code to put this into effect? I know this might be a really simple question so maybe a link to info would suffice. Thank you for your time.
If you are going to add this in "Index" page, then use the following method;

Go to ACP > Templates > Index Templates > index > and find;

</head>

and add the following code just before that;
<style type="text/css">
BODY {background-image: url(images/APCullen.gif); background-repeat:
no-repeat; background-position: 200px 200px; background-attachment: fixed; }
</style>

Now add APCullen.gif image in ./images/ folder of your MyBB.

--- DONE! Smile
This changes it for the Index page but all the other pages like threads/User CP/Reply all revert to the old background. Anyway i can make this universal or global? I tried the global.css and it didnt do anything. Any tips?
Hi, Happy Holidays Smile

Go to: ACP > Themes > Select Your Theme > global.css > edit in advanced mode > inline find;

body {
	background: #efefef;

and replace it to the following;

body {
	background: #efefef url(images/APCullen.gif);

--- DONE! Smile