Support » Theme: Neve » Child Theme Not Working

  • Resolved tjongolongo

    (@tjongolongo)


    I have created a child theme to make adjustments to the main theme but no matter what code I seem to add to my child theme .css file. It doesn’t seem to work. Eventhough it does work when I make changes when using ‘Inspect’ on my browser.

    I have added the following code to my functions.php file:

    <?php
    add_action( 'wp_enqueue_scripts', 'enqueue_parent_styles' );
     
    function enqueue_parent_styles() {
       wp_enqueue_style( 'parent-style', get_template_directory_uri().'/style.css' );
    }
    

    Is this the correct code to use? Or am I missing something.

    I’m trying to add functionality and styling for 3 things to my site:
    1. Sticky menu
    2. Back to top button
    3. Displaying bullet points and numbering (currently bullets aren’t displayed in the Neve theme I installed)

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