WordPress.org

Support

Support » Themes and Templates » Child Theme Not Working. What Am I Doing Wrong?

Child Theme Not Working. What Am I Doing Wrong?

  • 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)
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.