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?

2 Answers 2


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.

  • 1
    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.
    – RayWright
    Feb 5, 2021 at 23:24

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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