Page 1 of 3 123>
Topic Options
#4347 - 08/07/10 17:05 Power of CSS in theme creation
Killzone_Kid Admin
Developer
Old Hand
Offline
Registered: 13/04/08
Posts: 831
Loc: London, UK
You can add background image in any module by customising customCSSJS file.

You will need to make new backgroundIMG file that has 2 images and then use the second image as background like this

body {background-image: url("backgroundIMG.pspr"); background-repeat:no-repeat; background-attachment:fixed; background-position: 0px -80px;.....

Sample image and sample CSSJS:
http://pspradio.co.uk/etc2/customCSSJS.pspr
http://pspradio.co.uk/etc2/backgroundIMG.pspr


Top
#4349 - 09/07/10 04:33 Re: Power of CSS in theme creation
RKDM
Addict Offline
Registered: 19/02/10
Posts: 419
Loc: NC, US
I played with this a bit and have noticed (with sample css) that the background doesn't line up above & below the row of buttons & when you click at the top of screen to shrink the player that the background needs to be taller than 272px. I don't have a pc so i can't play with the css. Can these things be worked out in the css?

Top
#4353 - 09/07/10 13:37 Re: Power of CSS in theme creation
max53389
Enthusiast Offline
Registered: 03/10/09
Posts: 370
Loc: AZ
Im going to try to mess this and see if i can use this in my future themes \:\)

Never mind it is simple to use \:P


Top
#4354 - 09/07/10 16:32 Re: Power of CSS in theme creation
Killzone_Kid Admin
Developer
Old Hand
Offline
Registered: 13/04/08
Posts: 831
Loc: London, UK
 Originally Posted By: RKDM
I played with this a bit and have noticed (with sample css) that the background doesn't line up above & below the row of buttons & when you click at the top of screen to shrink the player that the background needs to be taller than 272px. I don't have a pc so i can't play with the css. Can these things be worked out in the css?


Not quite sure what you mean, it aligned on mine. Make a screenshot.


Top
#4355 - 10/07/10 01:24 Re: Power of CSS in theme creation
RKDM
Addict Offline
Registered: 19/02/10
Posts: 419
Loc: NC, US
http://kdm.xpmob.com/images/RP-20100709-061356.jpg
http://kdm.xpmob.com/images/RP-20100709-061417.jpg


Top
#4356 - 10/07/10 09:16 Re: Power of CSS in theme creation
RKDM
Addict Offline
Registered: 19/02/10
Posts: 419
Loc: NC, US
Btw, would it be possible to to put all the info text in the top section in one line and and have it scroll...
 Code:
<marque>Station | Song | Quality</marque>

for example.
(i really miss having a computer. lol)


Top
#4357 - 10/07/10 14:12 Re: Power of CSS in theme creation
Killzone_Kid Admin
Developer
Old Hand
Offline
Registered: 13/04/08
Posts: 831
Loc: London, UK


Nice. Let me see the backgroundIMG.pspr image you use for it


Top
#4358 - 10/07/10 14:13 Re: Power of CSS in theme creation
Killzone_Kid Admin
Developer
Old Hand
Offline
Registered: 13/04/08
Posts: 831
Loc: London, UK
 Originally Posted By: RKDM
Btw, would it be possible to to put all the info text in the top section in one line and and have it scroll...
 Code:
<marque>Station | Song | Quality</marque>

for example.
(i really miss having a computer. lol)


Not sure need to experiment.


Top
#4360 - 12/07/10 00:59 Re: Power of CSS in theme creation
RKDM
Addict Offline
Registered: 19/02/10
Posts: 419
Loc: NC, US
 Originally Posted By: Killzone_Kid


Nice. Let me see the backgroundIMG.pspr image you use for it

it was just a random psp background 480x272. i'd link to it but it's on my wapzan host wich is down again. sorry.


Top
#4361 - 12/07/10 10:12 Re: Power of CSS in theme creation
Killzone_Kid Admin
Developer
Old Hand
Offline
Registered: 13/04/08
Posts: 831
Loc: London, UK
But it cannot be 272px high it has to be 272+80 px high or when you shrink it will not cover the bottom. Use the image i posted as template.

Top
Page 1 of 3 123>



Hop to: