[wp-hackers] Admin-UI admin_print_styles & colors.css
hempsworth at gmail.com
Fri Jun 4 17:38:34 UTC 2010
This doesn't answer your question, but if you are trying to ovveride styles
on your plugin page - why not add a class to the <body> tag just on your
page? Infact, it should already have its own specific class..
Then all you have to do is add body.YOURCLASS before any custom style.
Just another way of doing it I guess, and you don't need to worry about the
order of loading.
-- Alex (Hempsworth)
On Fri, Jun 4, 2010 at 6:18 PM, 24/7 <24-7 at gmx.net> wrote:
> i was trying to override some styles (for a custom theme options admin-
> UI page), but can't get around loading my custom file later than
> colors-***.css from admin-UI. I used the admin_print_styles() hook.
> The codex  says, that this would be the last one, before the page
> get's rendered... but colors-***.css get's in every case rendered
> later and overrides my styles.
> I would appreciate every explanation (even if it's just "colors get
> added after the last hook"), so i could open a ticket on this one.
>  http://codex.wordpress.org/Plugin_API/Action_Reference
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
More information about the wp-hackers