• Hi Simon,
    it might be a stupid question because I’m not a pro developer. I was wondering how can I make the sa-owl-theme.css file work inside my child theme, so I don’t have to override with my own css style.

    Thanks for your help.

Viewing 1 replies (of 1 total)
  • Plugin Author simonpedge

    (@simonpedge)

    Hi, SA normally works fine if you use a Child Theme – I always use a child theme myself when building WP sites. If you are having issues on your WP installation with the style within the ‘sa-owl-theme.css’ file not being applied, then possibly there is a clash with SA and another plugin you have installed. Also, are you getting JavaScript errors when the page loads?

    If you are still having problems, you can try adding ‘sa-owl-theme.css’ to your child theme by copying ‘/wp-content/plugins/slide-anything/owl-carousel/sa-owl-theme.css‘ into your child theme folder, and then adding the following code to your ‘functions.php’ file:

    function load_scripts_and_styles() {
    	wp_register_style('owl_theme_css', get_stylesheet_directory_uri().'/sa-owl-theme.css');
    	wp_enqueue_style('owl_theme_css');
    }
    add_action('wp_enqueue_scripts', 'load_scripts_and_styles', 20);
Viewing 1 replies (of 1 total)

The topic ‘sa-owl-theme.css’ is closed to new replies.