remove delete button form blocks

Permalink
hi i know i can remove the option to delete a block from an area by clicking on the "add to" part of the area and setting permissions.

but this takes for ever if i have lots of blocks.. even when doing it on the page type defaults. so i have been trying to find a quicker work around.

using scss i found i could display non the delete option (and others that i dont want my client to mess with):
.client {
  #ccm-edit-collection-design #ccm-select-theme, .ccm-menu-separator, .ccm-icon-delete-menu, .ccm-icon-design-menu, .ccm-icon-permissions-menu, .ccm-icon-clock-menu, .ccm-icon-custom-template-menu {
      display: none !important;
  }
}


but i need 1 or 2 areas to still have the delete option.

so i looked in to a way of targeting only the specific areas that i need the delete to be available but i cant find a way of targeting my css as the popup is generated at the bottom of the document.

does any one know how i can make this work?

i have thought about hard codeing the permissions into the block area in my template but i not sure if that possible?

its just so slow to click every block area and set a permission. (there about 4 popups for every permission on each block)

chris123uk
 

This website stores cookies on your computer. These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media. To find out more about the cookies we use, see our Privacy Policy.