Answers.Body: <p>You can use a bit of CSS (either in your CMS theme or in a custom CSS file you define in <strong>Administer menu » System Settings » Resource URLs</strong> to move the buttons further apart.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2021-02-05T23:24:06.213Z
Answers.Text: This is the route we've taken in several places, I also usually add some color or sizing to make the more 'desirable' button more prominent.
Answers.UserDisplayName: RayWright
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2021-01-26T13:50:55.093Z
Answers.LastActivityDate: 2021-01-26T13:50:55.093Z
Answers.UserDisplayName: Jon G - Megaphone Tech
Answers.Body: <p>You can remove the delete option in an extension, using the buildForm hook: <a href="https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_buildForm/" rel="nofollow noreferrer">https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_buildForm/</a> or hiding it in a jQuery script.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2021-01-26T07:20:29.260Z
Answers.LastActivityDate: 2021-01-26T07:20:29.260Z
Answers.UserDisplayName: ErikH - CiviCooP
Body: <p>Users are 'accidentally' deleting custom field sets because (so they claim) the 'Edit' button and the 'Delete' button are too close together after clicking the custom field set tab.  So is it possible to move the delete button to the right?  One solution is to disable the ability to delete custom field sets but that doesn't see possible - we are using ACLs that only allow 'Edit'.  Any other ideas?</p>
  
Tags: <custom-fields><delete>
Title: Custom field set - how to move Delete button (or prevent deletes)?
ThreadText: # Custom field set - how to move Delete button (or prevent deletes)?
  
  (Asked by: username_0 on 2021-01-25)
  
  Users are 'accidentally' deleting custom field sets because (so they claim) the 'Edit' button and the 'Delete' button are too close together after clicking the custom field set tab. So is it possible to move the delete button to the right? One solution is to disable the ability to delete custom field sets but that doesn't see possible - we are using ACLs that only allow 'Edit'. Any other ideas?
  
  **Tags:** custom-fields, delete
  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_1 on 2021-01-26. Score: 3
  
  You can use a bit of CSS (either in your CMS theme or in a custom CSS file you define in **Administer menu » System Settings » Resource URLs** to move the buttons further apart.
  
  > **Comments:**
  > **username_2**: This is the route we've taken in several places, I also usually add some color or sizing to make the more 'desirable' button more prominent.  
  
  ---
  
  ### Answer by username_3 on 2021-01-26. Score: 0
  
  You can remove the delete option in an extension, using the buildForm hook: <https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_buildForm/> or hiding it in a jQuery script.
  
  
  ---
  
  