• Resolved do77

    (@do77)


    Hey,

    so I am about to style the wp-admin.css to give my backend a little touch. But I am not quite sure why my changes have no actual effect. As a simple example I wanted to change the color of the footer. So I did this:

    /* Admin Footer */
    #footer {
    	margin-top: -45px;
    	<strong>background:#cc0000;</strong>
    }

    But the footer remains dark grey. I actually can’t even find the part where header and footer get their color. So I was thinking this would be a good place to add a bgr color.

    Any hints?
    do77

Viewing 10 replies - 1 through 10 (of 10 total)
  • Thread Starter do77

    (@do77)

    I obviously didn’t put it in . πŸ™‚ I tried to show what I changed!

    See: http://codex.wordpress.org/Creating_Admin_Themes

    When editing css, make sure that you refresh your browser and/or empty browser cache.

    Thread Starter do77

    (@do77)

    Thanks for your response iridiax. The link you posted is actually the one I have read before I made the changes. It says:

    The original Admin Theme style sheet is very complex, covering all aspects of the Administration Panels thoroughly. Not all the parts and pieces may need to be changed to recreate your Admin Theme.
    Here is a partial list of the important style references used in the Administration Panels. Per CSS web standards, # denotes a style ID and . denotes a style class.

    #wphead
    The main title of the admin panel. Used to display the name of the blog and a link to View Site.

    That’s why I added the color to #wphead (my example above is #footer but I did the same with the header). I also refreshed the browser but nothing changes.

    do77

    There are various Firefox addons (web developer, firebug?) that let you inspect the css applied to an element. Maybe one of these could help you track down the css.

    there is a whole wp-admin/css/ directory with about 20 odd files. some colors for instance come from colors-classic.css or colors-fresh.css.

    Thread Starter do77

    (@do77)

    Thanks guys! I will start figuring out where the color comes from! πŸ™‚ Once I found it I will post it. Does anyone know why there are always two files in the directory … like dashboard.css and then dashboard-rtl.css?

    Thanks again for your hints!

    rtl stands for ‘right to left’, i think for different text alignments, eastern world?

    Thread Starter do77

    (@do77)

    Thanks alchymyth!

    Thread Starter do77

    (@do77)

    So I guess I will be lazy. I found the ‘Custom Admin Branding’ plugin and it basically does exactly what I want but with way less of an effort πŸ™‚

    Anyone bad experience with this plugin? I am always kind of careful with plugins that play with the backend.

    do77

    Thread Starter do77

    (@do77)

    Hey iridiax,

    thanks for your addon hint! That really helped a lot! I was able to locate the things I want to change and don’t need to use the plugins that only caused problems anyway πŸ˜‰

    Thanks again!
    do77

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘wp-admin.css – I could need a hint! :)’ is closed to new replies.