Static background image.

Theme, template, layout, or image issues

Static background image.

Postby Bray » Thu Mar 05, 2009 6:29 am

I'll be the first to admit that I am no code monkey but I do my best. What I am wanting to do is set the background image in roster to a static image. The way it is set up now the background image repeats as the page length increases.

Is there a way to set the image to static? Or where in the code would I put a no repeat?

I searched the forum for any related post but I did not find any so if it is here and I missed it please forgive me.

Thanks.
User avatar
Bray
WR.net Apprentice
WR.net Apprentice
 
Posts: 9
Joined: Fri Oct 12, 2007 3:15 pm

Static background image.

Postby tuigii » Thu Mar 05, 2009 7:18 am

Like this : http://www.papy-team.fr/roster/index.ph ... list&a=g:1 ?

Rather easy, as always, as soon as you found out the power of "The Roster Templates" - a part of the the WoWRoster that's rather well unknown, but one can do nice things with it.

FIRST : goto roster/templates and copy the entire directory named default to a new one, let say my-template.

Switch to it : goto the the CP by loginning in as the admin.
Goto Config Menu => Display Config and switch from the "default" roster theme to "my-template".

Nothing changed yet, but now you can work on a copy - protecting you from f*ck*ng up nicely [in that case, just switch back to "default" ;-) ]

Now, open my-template/style.css and look for line 16
Code: Select all
body background:#000000; } 

Mine is
Code: Select all
body backgroundurl(images/masterbackgroundclear0.jpgno-repeat fixed; } 


Note that background images that stretch to the entire screen size does not exist - that's part of the non-implemented CCS3 - so make your image big. Mine isn't high enough, I know.
(some work a rounds exist, Google will be your friend)

Needless to say that your image should be place in the my-template/images directory.

My "Winter" menu ?
Nothing special :) I stole it from our Armory Cracker : Ulminia - I just corrected it so "Html Validator" (an FF3 extension) didn't complain about it.
Last edited by tuigii on Thu Mar 05, 2009 7:21 am, edited 2 times in total.
User avatar
tuigii
WR.net Master
WR.net Master
 
Posts: 891
Joined: Wed Dec 27, 2006 12:57 pm
Location: Somewhere in the South Ouest of France

Static background image.

Postby Bray » Thu Mar 05, 2009 8:20 am

tuigii, you are awesome! thank you so much...been beating my head against a wall for hours trying to figure it out.
User avatar
Bray
WR.net Apprentice
WR.net Apprentice
 
Posts: 9
Joined: Fri Oct 12, 2007 3:15 pm

Re: Static background image.

Postby tuigii » Thu Mar 05, 2009 2:58 pm

Btw, this is a Roster Themes related question.
User avatar
tuigii
WR.net Master
WR.net Master
 
Posts: 891
Joined: Wed Dec 27, 2006 12:57 pm
Location: Somewhere in the South Ouest of France

Re: Static background image.

Postby Bray » Sun Mar 08, 2009 8:29 am

Sorry about that. Mods feel free to move this thread.
User avatar
Bray
WR.net Apprentice
WR.net Apprentice
 
Posts: 9
Joined: Fri Oct 12, 2007 3:15 pm

Static background image.

Postby zanix » Sun Mar 08, 2009 2:07 pm

This question still applies to appearance
The themes section is meant for help with modifying or creating new roster themes
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: Static background image.

Postby tuigii » Sun Mar 08, 2009 9:08 pm

Lol, ok..... :grin:

Theme <> Appearance ?
User avatar
tuigii
WR.net Master
WR.net Master
 
Posts: 891
Joined: Wed Dec 27, 2006 12:57 pm
Location: Somewhere in the South Ouest of France

Static background image.

Postby zanix » Mon Mar 09, 2009 12:14 am

Yes and no, honestly it could be both
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: Static background image.

Postby torillian » Tue Mar 17, 2009 5:23 pm

This doesn't work for me .. when I copy my theme to create a new one .. even though it uploads all the images etc. it loses the links to them and the styles get completely screwed.

And if I change the default theme .. the only way I can get the new image to display is if I change it in the DB or the roster config panel .. it ignores the style sheet completely

I am going to investigate more as this is totally doing my head in :D
Torillien -
Image
Image
User avatar
torillian
WR.net Apprentice
WR.net Apprentice
 
Posts: 1
Joined: Sun Sep 09, 2007 6:15 am
Location: London, UK

Re: Static background image.

Postby Lorkam » Thu May 14, 2009 3:15 am

Thanks alot tuigii I been screwing around with the color schemes too if anyone wants the file that I made I can post it. I simply commented out all the spots in style.css file so you can just simply search the file using key words in the commented text to take you to all the different hex colors you can change. Saves alot of time than having to go through all the code. I used jEdit to edit it. It is a freeware editor plus all my comments I wrote are all lined up to the center line in jEdit.
Roster Version 2.0.2
Roster Guild Deathbringershttp://deathbringer.us/(a)roster/
Roster Guild Deathbringer(new roster template) http://deathbringer.us/(h)roster/
Guild site hosted and templated by WoWGuilds.ca (highly recommend) http://deathbringers.us/
Image
User avatar
Lorkam
WR.net Apprentice
WR.net Apprentice
 
Posts: 37
Joined: Mon Jul 10, 2006 12:21 pm


Return to Appearance

Who is online

Users browsing this forum: No registered users and 1 guest

cron