I'm trying to hide a span class from certain page (Not all pages) Below is the span I want to hide

<span class="wpte-bf-reg-price">

The page I want to hide the above span class is


I'd figured something like this would work but it's not working.

.page-id-5694 #wpte-bf-reg-price {
  • 1
    Have you tried changing the # to a . since the span has a class and not an ID?
    – WebElaine
    Mar 27 at 20:57


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.