Answers.Body: <p>I was doing this the other day.  Have a look for the contribution page id div which wraps the form.</p>
  <p>The following hides a section in the contribution page with id=2, but no other contribution pages...</p>
  <blockquote>
  <p>div.crm-contribution-page-id-2 div.editrow_custom_8-section {
  display: none;
  }</p>
  </blockquote>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-07-23T20:37:53.980Z
Answers.Text: Awesome!! Thanks. Just for future ref for events it will be div.crm-event-id-362 div#pricesetTotal { display: none; }
Answers.UserDisplayName: Tapash
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-07-23T20:32:44.700Z
Answers.LastActivityDate: 2020-07-23T20:32:44.700Z
Answers.UserDisplayName: Christopher
Body: <p>I would like to hide a specific <code>div</code> tag for a specific event or contribution page ID. I am not good with JS. So prefer CSS <code>display:none;</code> method. Any help would be appreciated. Thanks</p>
  
Tags: <civievent><contribution-page><css>
Title: How do I hide a div tag for a specific event or contribution page?
ThreadText: # How do I hide a div tag for a specific event or contribution page?
  
  (Asked by: username_0 on 2020-07-23)
  
  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
  
  **Tags:** civievent, contribution-page, css
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2020-07-23. Score: 2 | Accepted 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;
  > }
  
  > **Comments:**
  > **username_0**: Awesome!! Thanks. Just for future ref for events it will be div.crm-event-id-362 div#pricesetTotal { display: none; }  
  
  ---
  
  