Home Forums Plugins Flash Sale Theme based CSS Error

This topic contains 0 replies, has 1 voice, and was last updated by  niall.campbell 4 years, 6 months ago.

Welcome to our community support forums! We're here to help - but if you have an urgent request for a Pro Plugin, you will get a prioritised response through our Premium Support page.

Viewing 1 post (of 1 total)
  • Author
  • #30666


    Line #105-106 in flash-sale.php reads

    if ( file_exists( STYLESHEETPATH . '/wpsc-fa_header_banner.css' ) ) 
    	wp_enqueue_style( 'wpsc_fa_styles', plugins_url( '/wpsc-fa_header_banner.css', __FILE__ ) );

    Which loads the css file from the flash sale plugin’s directory when you’ve found the css file in the template directory.

    You probably want something like this:

    if ( file_exists( STYLESHEETPATH . '/wpsc-fa_header_banner.css' ) )
    	wp_enqueue_style( 'wpsc_fa_styles', get_bloginfo('template_url') . '/wpsc-fa_header_banner.css' );
Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.