Home Forums Plugins Flash Sale Theme based CSS Error

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
    Posts
  • #30666
    niall.campbell
    Participant

    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)
  • The forum ‘Flash Sale’ is closed to new topics and replies.