Home Forums WoodMart support forum Icon url/selector/class to exclude from RUCSS

Icon url/selector/class to exclude from RUCSS

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #574730

    themassapothecary
    Participant

    We’re testing WP Rockets remove unused css feature but on archives and single product pages all of the icons are not showing such as review stars, cart icons, compare icon, etc. I shared 2 screenshots. The first show with RUCSS active and the icons not showing and the second is with the icons showing correctly. You can exclude files/urls/keywords/classes/selectors etc from the remove unused CSS but I can’t figure out what to add to exclude all the icons. What do I need to exclude so the icons show?

    Attachments:
    You must be logged in to view attached files.
    #574889

    Luke Nielsen
    Keymaster

    Hello,

    As for unused CSS, usually, these options don’t work well and remove necessary code from the website. You need to consult with plugin developers for help on this matter.

    Kind Regards

    #575088

    themassapothecary
    Participant

    I have already. And I don’t need to you diagnose or do anything like that but I need to know what file calls the icons used in Woodmart (Especially review starts, hamburger menu icons, my account icon, cart icon, etc). What is the name of the file? What is the name of the classes used?

    #575221

    Luke Nielsen
    Keymaster

    Hello,

    Try to exclude these files:

    mod-star-rating.min.css
    mod-tools.min.css
    header-el-cart.min.css
    header-el-my-account.min.css
    woo-product-loop.min.css
    base.min.css
    woo-shop-el-filters-area.min.css

    Kind Regards

Viewing 4 posts - 1 through 4 (of 4 total)