- This topic has 1 reply, 2 voices, and was last updated 7 years, 4 months ago by Hash.
- AuthorPosts
- January 24, 2017 at 2:31 am #1717sakpattParticipant
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?
January 26, 2017 at 12:25 am #1738HashKeymasterHi,
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.
- AuthorPosts
- You must be logged in to reply to this topic.