Child theme don't override CSS
-
Hi,
I create a child theme to customize “custom-community”, The child css is loaded (I see it in head) but it is overrided by default parent css (the custom community’s css)
What can I do to override the cc default css ? I don’t want to use the tab “custom css” in theme settings.
My function.php
add_action(‘wp_enqueue_scripts’, ‘enqueue_parent_theme_style’,99);
function enqueue_parent_theme_style() {
wp_enqueue_style( ‘parent-style’, get_template_directory_uri().’/style.css’ );
}To get my style.css working, I have to add !important on every lines, so it’s realy a priority issue… What can I do for that ?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Child theme don't override CSS’ is closed to new replies.