• I just developed a new child theme and for some reason, it only shows the parent theme’s CSS, but no CSS from the Child is displaying in my web browser and I do have it activated. This is for a WordPress Mulisite with one of the network being http://socialskyline.com/social-media-blogs/hotwebideas/ which is where this is supposed to take place.

    The Child Theme’s style.css

    /*
    Theme Name:     Pro White Lime
    Description:    Child theme for the Pro White
    Template:       social_skyline_pro_white
    Theme URI: http://www.socialskyline.com
    */
    
    @import url("../social_skyline_pro_white/style.css");
    
    BODY
    {
    	/* Change */
    	background-color:#000;
    	background-attachment:fixed;
    	margin: 0px 0px 0px 0px;
    }

    My Parent Theme’s CSS BODY Selector and Theme Declaration

    /*
    Theme Name: Pro White By SocialSkyline.com
    Theme URI: http://www.socialskyline.com
    Description: Uses 2 columns with white theme
    Version: 1.0
    Tags: fixed width, two columns, white
    Author: SocialSkyline.com
    Author URI: http://www.socialskyline.com/
    */
    BODY
    {
    	/* Change */
    	background-color:#DDD;
    	background-attachment:fixed;
    	margin: 0px 0px 0px 0px;
    }

    From this above code, the child theme should have a BLACK background of #000, but it still shows the #DDD background from the parent.

    Does anyone know what I am doing wrong?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Have you activated your Child Theme through the dashboard?

    Thread Starter hotwebideas

    (@hotwebideas)

    Yes, activated through the network dashboard since this is a multisite. And also activated through the admin level as well.

    Thread Starter hotwebideas

    (@hotwebideas)

    Does anyone have an answer for this? Driving me crazy.

    The site linked to is not using a child theme — look at View Source and you’ll see it’s linked to the parent theme. So something is not set up correctly…

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Child Theme Not Working. What Am I Doing Wrong?’ is closed to new replies.