Home Forums HashOne parent theme CSS loading twice

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1717
    sakpatt
    Participant

    The parent theme CSS is overriding the child theme in my functions.php file. You edited this in order to add a premium feature so that we could expand our team section, but since then none of my color changes are pushing through. I’ve updated the parent theme to the newest version as well.

    <?php
    add_action( ‘wp_enqueue_scripts’, ‘hashone_enqueue_styles’ );
    function hashone_enqueue_styles() {
    wp_enqueue_style( ‘hashone-parent-style’, get_template_directory_uri() .
    ‘/style.css’ );
    }

    This is what you included at the top of your functions.php file, but it’s calling the parent theme twice according to the Chrome Inspect/Developer tool.

    How should I modify this code?

    #1738
    Hash
    Keymaster

    Hi,

    We did not find the multiple loading of the style.css when checked with the zip we sent you. So it might be some of your edit that is loading it twice.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.