Removing "Live Site" button from backend

Posted by Community Admin on 03-Aug-2018 20:36

Removing "Live Site" button from backend

All Replies

Posted by Community Admin on 15-Apr-2015 00:00

Is there a way to remove the "Live Site" button when you log into the backend? Or at least hide it maybe?

Thanks,

HRodrigue

Posted by Community Admin on 16-Apr-2015 00:00

I believe the simplest way to hide the button would be to get into the backend pages editing, look at the templates used for the backend pages (in the side bar on the right) and add a css widget with:

.sfLiveSite
    display:none;

Posted by Community Admin on 20-Apr-2015 00:00

Thanks Chris! That did the trick. Any idea how to remove the help and resources tab as well?

 

Thanks,

Hector Rodriguez

Posted by Community Admin on 20-Apr-2015 00:00

Just right-click on the elements you don't want and choose Inspect.  Brings up the browsers developer console and shows you any class name or unique ID of the element (or parent) so you can target it to hide it.

Posted by Community Admin on 20-Apr-2015 00:00

Steve is dead on with the use of the developer tools.

I would use the class on that link, sfHelpLnk, to hide it. 

This thread is closed