javascript - Use css for only one URL -
can target css class 1 url on wordpress site? .class {pointer-events:auto;} .class a[href="url"]{pointer-events: none;} this isn't working, there way? can javascript? i need disable add cart button page sample part (something shouldn't added cart). the other unique attribute data-product_id="32570" is there way target data-product_id="32570" in css? you can use css , target unique attribute think best way target this .class a[data-product_id="32570"] { ... } more documentation , uses here https://developer.mozilla.org/en-us/docs/web/css/attribute_selectors