TransWikia.com

How do I hide a div tag for a specific event or contribution page?

CiviCRM Asked by Tapash on December 19, 2021

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

One Answer

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

Answered by Christopher on December 19, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP