|
|
|||||||
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 |
||||||||
|
|
|||||||
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? |
||||||||
|
|
|||||||
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 |
||||||||
|
|
|||||||
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. |
||||||||
|
|
|||||||
http://kdm.xpmob.com/images/RP-20100709-061356.jpg http://kdm.xpmob.com/images/RP-20100709-061417.jpg |
||||||||
|
|
|||||||
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) |
||||||||
|
|
|||||||
Originally Posted By: RKDM Nice. Let me see the backgroundIMG.pspr image you use for it |
||||||||
|
|
|||||||
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. |
||||||||
|
|
|||||||
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. |
||||||||
|
|
|||||||
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. |
||||||||
|
|
|||||||
Hey KK do you know if partial transparency works in psp browser? |
||||||||
|
|
|||||||
Originally Posted By: RKDM Hey KK do you know if partial transparency works in psp browser? Probably not. PSP browser is like Opera 5 |
||||||||
|
|
|||||||
Is there anything we can do about the misalignment in the background image? I imagine this is caused by the break between the body and header. http://znbuww.bay.livefilestore.com/y1pw...4435.BMP?psid=1 I could try cutting a section out to try and get it right. Edit: ok that works so it'll have to be the way. KK....is there any program out there that'll make editing the CSS file easier? or do you have a nicely ordered/structured version, because mine is all over the place and I can't make heads or tails of it without loosing my place >.< |
||||||||
|
|
|||||||
Originally Posted By: Razgriz375 Is there anything we can do about the misalignment in the background image? I imagine this is caused by the break between the body and header. http://znbuww.bay.livefilestore.com/y1pw...4435.BMP?psid=1 I could try cutting a section out to try and get it right. Edit: ok that works so it'll have to be the way. KK....is there any program out there that'll make editing the CSS file easier? or do you have a nicely ordered/structured version, because mine is all over the place and I can't make heads or tails of it without loosing my place >.< Instead of cutting the image you can alter background-position: 0px -80px; parameter, maybe not -80px but -92? It has to be -80-"height of the button bar" whatever it is. And sorry for the CSS it is CSS inside javascript to save on amount of files needed for download. |
||||||||
|
|
|||||||
I pretty sure the bar is 13px in height without editing the original height |
||||||||
|
|
|||||||
Originally Posted By: max53389 I pretty sure the bar is 13px in height without editing the original height yeah it is 11px + 2px for border top and bottom. -93px should do the trick then. |
||||||||
|
|
|||||||
That's awesome, works great. Thanks KK ad others |
||||||||
|
|
|||||||
I've just checked, PSP browser does not support transparency or opacity...but. Using power of CSS positioning I think it is possible to have semi-transparent backgrounds under titles and even links to make them stand out from background. It would involve using png image instead jpg for the background. Then you can add few semi-transparent strips at the bottom of it and use positioning to place it as background under the text. I will try to make a demo later. |
||||||||
|
|
|||||||
Originally Posted By: Killzone_Kid I've just checked, PSP browser does not support transparency or opacity...but. Using power of CSS positioning I think it is possible to have semi-transparent backgrounds under titles and even links to make them stand out from background. It would involve using png image instead jpg for the background. Then you can add few semi-transparent strips at the bottom of it and use positioning to place it as background under the text. I will try to make a demo later. |
||||||||
|
|
|||||||
Sounds like a plan. Lets hope it works |
||||||||
|
|
|||||||
It works but transparent PNG-24 is huge. You are better off with gif maybe. http://pspradio.co.uk/etc3/backgroundIMG.pspr http://pspradio.co.uk/etc3/customCSSJS.pspr |
||||||||
|
|
|||||||
Hmm, so hows does that work then? So with the extra bars, i guess the overall image height is increased too. Looks like i'll need to modify my theme. Is it not possible to have the bars on a seperate image file and have the CSS link to that? I know it means more files, but the majority of the background will still be Jpg so it'll be smaller altogether? Thankyou Killzone |
||||||||
|
|
|||||||
You can have more images but you have to provide download links for them as well as your theme. |
||||||||
|
|
|||||||
What you can also do is to make opaque category strips like this ====== _______ ======= for example, leave space in the midle and position them not left but center so the text will align with space in the middle. There is so much you can do with CSS. |