• Resolved marcofrasson

    (@marcofrasson)


    Hello!

    I would like to change the class that the Inspector captures, because when the element has more than one class, sometimes it does not get the correct one.

    I quote the example of the buy button from WooCommerce:

    – the buy button class inside the product file is: “button product_type_simple add_to_cart_button ajax_add_to_cart”

    – the inspector, instead of capturing the “.button” class, it captures the “.product_type_simple” class, making it when the product is of another type, the CSS change does not work.

    – I would have to change this via programming, but for a lay user it is not ideal

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter marcofrasson

    (@marcofrasson)

    Now: ul.products li.product .product_type_simple
    The correct: ul.products li.product .button

    Plugin Author YellowPencil

    (@waspthemes)

    Hey There,

    Yellow Pencil plugin analyzing all classes on the page and try to creating the best CSS Selector for the target element.

    We will make improvements to the plugin artificial intelligence with your help. Thank you for your feedback!

    Best Regards

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

The topic ‘Change Inspector Class Capture’ is closed to new replies.