Yes, i use
if ((is_archive() && get_post_type() == “job_offer”) || (is_single() && get_post_type() == “job_offer”)) {
wp_enqueue_style(‘job_offer’, get_template_directory_uri() . “/css/job-offers.css”, array(), _S_VERSION);
}
so i think the last part of your answer is checked.
How can i make sure the enqueue action isn’t tied to having posts?