Background Image Question

Posts from previous Beta sessions

Background Image Question

Postby Melina » Wed Sep 26, 2007 2:27 am

Where can I go to put the coding in to set the background to not scroll. In html it is usually set as background-attachment: fixed but not exactly sure where I need to go to do that.
Last edited by Melina on Wed Sep 26, 2007 3:14 am, edited 1 time in total.
User avatar
Melina
WR.net Apprentice
WR.net Apprentice
 
Posts: 49
Joined: Fri Aug 03, 2007 6:49 am

Background Image Question

Postby davidnorman1 » Wed Sep 26, 2007 3:21 am

You'll need to do a little bit of css file editing to achieve this effect. Open the file ...\templates\default\style.css.
Look for the line: body { font:12px arial,helvetica,sans-serif;background:#000000; color:#ffffff; }

This is line 16, depending on what program you are using to edit the file.

Now change the line to read: body { font:12px arial,helvetica,sans-serif;background:#000000;background-attachment: fixed;
color:#ffffff; }

Voila, the background will now stay in-place! :D
User avatar
davidnorman1
WR.net Apprentice
WR.net Apprentice
 
Posts: 5
Joined: Sun Feb 18, 2007 9:23 pm

Background Image Question

Postby zanix » Wed Sep 26, 2007 3:27 am

This actually looks kinda cool, but can cause a massive slowdown on older computers, otherwise this would be the default
Read the Forum Rules, the WiKi, and Search before posting!
WoWRoster v2.1 - SigGen v0.3.3.523 - WoWRosterDF
User avatar
zanix
Admin
Admin
WoWRoster.net Dev Team
WoWRoster.net Dev Team
UA/UU Developer
UA/UU Developer
 
Posts: 5546
Joined: Mon Jul 03, 2006 8:29 am
Location: Idaho Falls, Idaho
Realm: Doomhammer (PvE) - US

Re: Background Image Question

Postby Melina » Wed Sep 26, 2007 3:30 am

Thanks so much.
User avatar
Melina
WR.net Apprentice
WR.net Apprentice
 
Posts: 49
Joined: Fri Aug 03, 2007 6:49 am


Return to Archived

Who is online

Users browsing this forum: No registered users and 1 guest

cron