0

I would like to hide a specific div tag for a specific event or contribution page ID. I am not good with JS. So prefer CSS display:none; method. Any help would be appreciated. Thanks

1 Answer 1

2

I was doing this the other day. Have a look for the contribution page id div which wraps the form.

The following hides a section in the contribution page with id=2, but no other contribution pages...

div.crm-contribution-page-id-2 div.editrow_custom_8-section { display: none; }

1
  • Awesome!! Thanks. Just for future ref for events it will be div.crm-event-id-362 div#pricesetTotal { display: none; }
    – Tapash
    Commented Jul 23, 2020 at 20:37

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.