Fixed background

Use this forum to ask questions about how to do things in GuMax skin.
Post Reply
User avatar
GIU
Rank 1
Rank 1
Posts: 8
Joined: July 30th, 2008, 6:20 am

Fixed background

Post by GIU »

HI!

I have a question, I can I create the nice effect that we see in this page, where the background image stays fixed and the rest of the page scrolls on the top of it?
Do you understand what I mean, so that you would not have to create the repeat or anything like that?

thanks a lot
User avatar
Paul
Development Team Leader
Development Team Leader
Posts: 1132
Joined: October 20th, 2007, 2:23 pm

Re: Fixed background

Post by Paul »

You can do that on any page, and this is defined in the CSS file.
User avatar
Jayded
Rank 0
Rank 0
Posts: 4
Joined: December 3rd, 2008, 9:38 am

Re: Fixed background

Post by Jayded »

Found that one myself. Login with ur site admin then goto MediaWiki:Gumax.css in the go field there you just put:
body {background-image: url(default.gif); background-attachment:fixed;}

where default.gif is an image u have put in your root wiki directory

Greetz,

Jay
User avatar
Paul
Development Team Leader
Development Team Leader
Posts: 1132
Joined: October 20th, 2007, 2:23 pm

Re: Fixed background

Post by Paul »

Excellent!
User avatar
robw92
Rank 0
Rank 0
Posts: 4
Joined: June 24th, 2009, 9:13 pm

Re: Fixed background

Post by robw92 »

Paul wrote:You can do that on any page, and this is defined in the CSS file.
Exactly WHICH css file is this defined in? I've been trying to get this to work with no success.
User avatar
Paul
Development Team Leader
Development Team Leader
Posts: 1132
Joined: October 20th, 2007, 2:23 pm

Re: Fixed background

Post by Paul »

gumax_template.css
Post Reply