Answers.Body: <p>Not sure what CMS you're using - it would be nice if you could permission this but I can't in WordPress so I see the need you have.</p>
  
  <p>Just add the parent selector as well:</p>
  
  <p>.contact-summary-relationship-tab .action-link
  (the parent id an ID not a class but when I place the pound sign it thinks it's formatting)</p>
  
  <p>Keep in mind, there is still an option in the actions menu as well that you'll want to hide.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-04-03T00:37:42.470Z
Answers.Text: Which file do you use to add the CSS? It didn't work for civicrm.css. Edited to add: I'm using Drupal.
Answers.UserDisplayName: Kristine
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-04-03T00:58:06.193Z
Answers.Text: To override civi styles, rather than edit the core civicrm.css you should employ an 'override' css file. You can set the URL here: Administer > System Settings > Resource URLs > Custom CSS URL: URL to use a custom CSS file. Also, the parent I referenced should be #contact-summary-relationship-tab
Answers.UserDisplayName: RayWright
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-03-30T22:38:20.813Z
Answers.LastActivityDate: 2018-03-30T22:38:20.813Z
Answers.UserDisplayName: RayWright
Body: <p>I would like to remove the "Add Relationship" button from the Relationship tab. I've been auditing some of the data and noticed that my users have been adding and removing relationships from this page. This caused a couple of data issues because the relationships are not connected to the cases. Then relationships were duplicating. </p>
  
  <p>Anyway, I tried removing the "Add Relationships" button via css. The actions-link css, however, affects other pages.</p>
  
Tags: <relationships>
Title: Hide "Add Relationship" Button
ThreadText: # Hide "Add Relationship" Button
  
  (Asked by: username_0 on 2018-03-30)
  
  I would like to remove the "Add Relationship" button from the Relationship tab. I've been auditing some of the data and noticed that my users have been adding and removing relationships from this page. This caused a couple of data issues because the relationships are not connected to the cases. Then relationships were duplicating.
  
  Anyway, I tried removing the "Add Relationships" button via css. The actions-link css, however, affects other pages.
  
  **Tags:** relationships
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2018-03-30. Score: 2 | Accepted answer
  
  Not sure what CMS you're using - it would be nice if you could permission this but I can't in WordPress so I see the need you have.
  
  Just add the parent selector as well:
  
  .contact-summary-relationship-tab .action-link
  (the parent id an ID not a class but when I place the pound sign it thinks it's formatting)
  
  Keep in mind, there is still an option in the actions menu as well that you'll want to hide.
  
  > **Comments:**
  > **username_0**: Which file do you use to add the CSS? It didn't work for civicrm.css. Edited to add: I'm using Drupal.  
  > **username_1**: To override civi styles, rather than edit the core civicrm.css you should employ an 'override' css file. You can set the URL here: Administer > System Settings > Resource URLs > Custom CSS URL: URL to use a custom CSS file. Also, the parent I referenced should be #contact-summary-relationship-tab  
  
  ---
  
  