Home Forums WoodMart support forum WP Rocket Remove Unused CSS affecting the styling of buttons

WP Rocket Remove Unused CSS affecting the styling of buttons

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #722347

    A2ZBS
    Participant

    Hello, When i activate WP Rocket’s Remove Unused CSS, the styling of the buttons gets affecting and the lose their padding and curved edges. Also, the logo disappears. Is this something you solved in the past? If yes, please let me know the code for the file i need to exclude in WP Rocket. This feature is currently not active on my site.

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

    Aizaz Imtiaz Awan
    Keymaster
    Xtemos team

    Hello,

    This is not a known issue with WoodMart itself. However, the Remove Unused CSS feature can strip dynamic and conditionally loaded styles used by WoodMart (buttons, search, popups) when its Used CSS is regenerated. For this reason, we usually don’t recommend enabling this feature on complex WooCommerce setups. Unfortunately, there is no universal list of CSS files or selectors that can be excluded to resolve this for every website.

    Best Regards

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