Hey guys, I know I can use styles that are more specific like instead of “lss” I can use “body .x-text .lss” to “win” the Cascade battle. However I have about 1000 lines of CSS that I’ve written in Pro Theme Options and want to move to main.css which I’m enqueuing in my child functions.php file. I want to give it a priority just over what the parent theme priority is, but I don’t know what it is. I’ve tried “15” but the parent styles are still taking over. Even tried “150”.
function main_stylesheet() {
wp_enqueue_style('main_stylesheet', get_stylesheet_directory_uri().'/css/main.css',array(),'1.0.6');
}
add_action('wp_enqueue_scripts', 'main_stylesheet', 150);
