• Resolved haleylewis

    (@haleylewis)


    Hi, sorry if this has been posted recently I can’t find it. Combine CSS option in sg optimizer sets WooCommerce to table mode for desktop. I have it turned off for now but it sucks that this is happening on many different themes and plugins as I can find. Woocommerce is pretty big and my site needs to have the CSS combined to reduce requests. is there a fix to this?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Stanimir Stoyanov

    (@sstoqnov)

    SiteGround Representative

    Hey @haleylewis

    Would it be possible to provide your site url please?

    Regards,
    Stanimir

    Thread Starter haleylewis

    (@haleylewis)

    https://www.westsidesupplyinc.com/
    I’ve turned it off, for now, it was too much of an inconvenience for customers with the pictures getting blown up to desktop size and super blurry.

    Plugin Author Stanimir Stoyanov

    (@sstoqnov)

    SiteGround Representative

    Hey @haleylewis

    Here’s the filter you should add to your functions.php file:

    
    add_filter( 'sgo_css_combine_exclude', 'css_combine_exclude' );
    function css_combine_exclude( $exclude_list ) {
        // Add the style handle to exclude list.
        $exclude_list[] = 'woocommerce-smallscreen';
    
        return $exclude_list;
    }
    

    We will globally exclude this style too so after the next plugin update you won’t have to keep it in your functions.php file. That should happen Tueseday 10th ??

    Regards,
    Stanimir

    Thread Starter haleylewis

    (@haleylewis)

    Thank you so much

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Combine CSS w/ Woocommerce’ is closed to new replies.