Page 1 of 1

own stylesheet (css) for menu from phplayers module

Posted: Sun Jan 02, 2005 9:44 pm
by mwiertz
Hi,

I'm wondering if there's easy way to use your own stylesheet (css) for defining the look and feel of the menu generated by the phplayers module? Would be nice, wouldn't it?

thanks in advance...

have a look here

Posted: Sun Jan 02, 2005 10:17 pm
by uptoeleven
have a look here:

http://forum.cmsmadesimple.org/viewtopic.php?t=179

There's a css file phplayers uses called phplayers/layersmenu-cms.css

you can:

1.) Change the contents of this file (knowing that when you upgrade all your work wil be lost).

2.) Move all the css to a css template and edit it, leaving phplayers/layersmenu-cms.css as an empty file (a hack - knowing that when you upgrade you will have 5 minutes of blind panic trying to remember what it was you did to make this work, then remember to make an empty phplayers/layersmenu-cms.css)

3.) Put properly cascading css into your template and pray to the w3c gods that the client browsers will actually respect your codes (lots of testing)

4.) Switch off phplayers... Which unless you have something to put in its place that can do all the PHP and SQL calls is not necessarily easy.

5.) Rewrite phplayers (knowing that when you upgrade all your work wil be lost + ph33r).

6.) Read the thread above which tells you how to do any of these things and the relative pros and cons.