Tagged: CSS
A recent update to Enfold stopped all our custom CSS from loading. How do I override the override?
Hey kelsangkunden,
Thanks for the login details. Could you give an example of what is not applying please?
Best regards,
Rikard
Many things, but one example is the price options in the woo product grid:
}
.woocommerce-grid-Price-amount.amount {
display: none;
}
I’m actually calling the CSS from a custom CSS file now rather than from the theme options by adding this to the functions.php file, to try and fix this issue, but still no joy:
// Load custom product styles after Enfold’s dynamic CSS
add_action( ‘wp_enqueue_scripts’, ‘kk_enqueue_custom_product_styles’, 20 );
function kk_enqueue_custom_product_styles() {
wp_enqueue_style( ‘kk-product-styles’, get_stylesheet_directory_uri() . ‘/kk-product-styles.css’, array(), ‘1.0’ );
}
