• Resolved Drake

    (@marcoragogna)


    Hello,

    I just updated to the latest versione 5.1.2 and CSS Combine broke the site.
    The previous version were working well.

    Unfortunately I had to disable the CSS Combine because the website is now live.

    If there is something I can do to give some help to understand the issue let me know.

    Thank you,
    Marco

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • I have the same issue.

    I just updated SG Optimizer to the latest version this morning and it broke the slider and menu in the website. When I troubleshooted the issue, I figured it was because of Combine CSS option within this plugin.

    Any solution to this?

    Plugin Author Stanimir Stoyanov

    (@sstoqnov)

    SiteGround Representative

    Hey @marcoragogna

    I’ve checked your site and the issue was that one of you styles needs to be excluded from css combination.

    I’ve added the following in your functions.php file

    
    add_filter( 'sgo_css_combine_exclude', 'css_combine_exclude' );
    
    function css_combine_exclude( $exclude_list ) {
    
        $exclude_list[] = "divi-style";
        return $exclude_list;
    }
    

    @imklndr I will leave a response in your ticket regarding your site.

    Regards,
    Stanimir

    Thread Starter Drake

    (@marcoragogna)

    Thank you for the support!

    I am using a child theme, and when I have the combine CSS option enabled it seems to put the child styles ahead of the parent styles in the combined CSS file, so some of the CSS I use to override the parent theme doesn’t work anymore.

    Thread Starter Drake

    (@marcoragogna)

    It seems that at the moment the only possibility is to exclude all these styles manually by using the plugin filter sgo_css_combine_exclude

    It would be nice to have a graphical interface to manage the CSS order, like W3 Total Cache, as example.

    In the meanwhile it would good also to have an additional filter that we could use to manipulate the combine order of the CSS.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘CSS Combine not working in Version 5.1.2’ is closed to new replies.