WordPress.org

Ready to get started?Download WordPress

Forums

Child Theme Not Working. What Am I Doing Wrong? (5 posts)

  1. hotwebideas
    Member
    Posted 1 year ago #

    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?

  2. Andrew
    Forum Moderator
    Posted 1 year ago #

    Have you activated your Child Theme through the dashboard?

  3. hotwebideas
    Member
    Posted 1 year ago #

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

  4. hotwebideas
    Member
    Posted 1 year ago #

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

  5. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

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

Topic Closed

This topic has been closed to new replies.

About this Topic