Non-threaded

Forums » Advanced Editor Forum » Read Thread

Get help from the experts on variables, scripts, items, and other scary things.

Help on backgrounds

7 years ago

So I know how to do a background color

$PAGETEXT := $PAGETEXT + "<style>body {background-color: #f2f2f2;}</style>"

And how to do a background image on each individual page(like on my profile)...but how do you do it using global page script?

It'd really help if someone could tell me ^^;

Help on backgrounds

7 years ago

This should let you set a background image for everything using the global page script:

$PAGETEXT := $PAGETEXT + "<style>body{background:url('imagelink.jpg');}</style>"

Help on backgrounds

7 years ago

Thanks IP :3

You're the best :D

Help on backgrounds

7 years ago

One thing you should know about this is that I don't think Alex intended for people to be messing with styles. It's fine -- you're not breaking any rules -- but if you put this in storygames and he later fixes it, you'll end up with some ugly code displayed on your pages.