Home Forums WoodMart support forum single_add_to_cart_button :before & :after issues with WP Rocket Used CSS

single_add_to_cart_button :before & :after issues with WP Rocket Used CSS

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #694999

    adf_david
    Participant

    Is there a reason why the add to cart button “single_add_to_cart_button” on single product page needs a :before & :after absolute styling? When using the optimize CSS feature with WP Rocket it’s creating an issue with where the :before absolute ends up covering the whole options section. When a user goes to select an option it acts like it’s selecting the add to cart button. Is it detrimental to hide these (display: none)?

Viewing 1 post (of 1 total)