• Resolved Context Canada

    (@context-canada)


    I have this code in my child them style sheet:
    /*Remove Author and Date from Page */
    .entry-header .entry-meta {
    display: none;
    }
    /*Remove Title from Page */
    .page-id-1138 .site-content .entry-title {
    display: none;
    }
    but it is not removing the displayed content for me. What am I missing?
    I havethe following inmy function.php file.
    <?php
    //Set up Child Theme
    function my_expound_scripts() {
    wp_dequeue_script( ‘expound-less’ );
    }
    add_action( ‘wp_enqueue_scripts’, ‘my_expound_scripts’, 11 );
    Any help here? http://www.contextcanada.ca
    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hey.

    If you include the following at the top of your child theme’s style.css file:

    /*
     Theme Name:     Expound Child
     Template:       expound
    */
    
    @import url("../expound/style.css");

    It should work. 🙂

    Theme Author Konstantin Kovshenin

    (@kovshenin)

    Let me know if you’re still having trouble with this!

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

The topic ‘Child theme CSS styles not overriding parent’ is closed to new replies.