siga
1/28/2016 - 3:14 PM

Move Dynamik CSS file to the bottom of CSS files list in source to overwrite plugin styles. Goes to functions. http://cobaltapps.com/forum/f

Move Dynamik CSS file to the bottom of CSS files list in source to overwrite plugin styles. Goes to functions. http://cobaltapps.com/forum/forum/main-category/web-design-talk/8169-genesis-style-trump?p=8200#post8200

add_action( 'get_header', 'custom_dynamik_load_stylesheet' );
function custom_dynamik_load_stylesheet() {
    remove_action( 'genesis_meta', 'genesis_load_stylesheet' );
    remove_action( 'genesis_meta', 'dynamik_load_stylesheets' );
    add_action( 'wp_enqueue_scripts', 'dynamik_add_stylesheets', 999 );
}