Remove option to setup templates folder

Greetings All:

With release 21 I’m curious if I can remove the option to setup the templates folder?


Thanks much,


Well, if noone else has a better idea, i’d suggest to simply hide it with the Custom CSS app :man_shrugging:?

1 Like

@stefan-niedermann - fab. solution achieved. thanks much!

1 Like

Please could you share the code that was used to hide the “set up templates folder”

Certainly @clintonellis

.newFileMenu > ul:nth-child(1) > li:nth-child(4) > a:nth-child(1) > span:nth-child(2) {
  display: none;

.icon-template-add {
  display: none;

Thank you so much @aredman i really appreciate it.

I have applied the code, the icon is now gone but the menu is still there.
I am also on version 21.


Since you are missing the second menu item, you will have to adjust nth-child(4) to nth-child(3)

1 Like
/* Drop-down menu Hide the last child (Setup templates folder) */

.newFileMenu ul > li:last-child { display:none; }

Even better, target exactly the link using its data-action attribute :

.newFileMenu a[data-action=template-init] { display:none; }