The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Admin CSS being overwritten by Site CSS (6 posts)

  1. anoleimaging
    Posted 3 years ago #

    Since I upgraded to 3.6 my admin is displaying the css properties I have added with a child theme to my site. I have replaced the /wp-admin/css folder with a clean copy from a new download, to no avail.

    I'm thinking this may have to do with the theme (Adventure Journal) somehow taking over into the admin? Anyone have any idea how to get the standard look back to admin?

    Screenshot: Here.

  2. esmi
    Forum Moderator
    Posted 3 years ago #

    Can you replicate the problem using the unedited parent theme?

  3. anoleimaging
    Posted 3 years ago #

    OK. ESMI, you're right: it doesn't occur with the parent theme.

    So that means my child theme, which was working fine up until this point, has broken with 3.6. Back to the drawing board? What would cause them to overlap like that?

  4. esmi
    Forum Moderator
    Posted 3 years ago #

    Difficult to say from here. I'd start by emptying your child theme's functions.php file and see if that helps.

  5. anoleimaging
    Posted 3 years ago #

    Well, it helps if you mean by that it gets rid of my css changes completely. 8|

    Here is what was in the functions.php:

    // Remove the Adventure Journal parent style.css and add the child theme's style.css
    add_action( 'wp_print_styles' , 'mh_remove_parent_css' , 50 );
    function mh_remove_parent_css() {
            wp_dequeue_style( 'theme' );
            wp_enqueue_style( 'child-theme' , get_bloginfo( 'stylesheet_directory' ) . '/style.css' , '' , '' );

    I am not proficient with PHP. Is this something I can alter or replace to make my child css work properly?

  6. paradieserl
    Posted 3 years ago #

Topic Closed

This topic has been closed to new replies.

About this Topic