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

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; }

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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