How to hide Customize button from Workspace

Hi,

I want to hide the Customize button(at the right side) and also Toggle Side Bar from Menu in Workspace page. Is there a way to do this?


Did you got the solution? Then please share.

Good idea. This might be useful for certain user roles.

1 Like

Hi @Ishwarya , @Minerva and @bluesky,

Need to create build.json as well. So let me write here how it worked:

hooks.py

app_include_css = [
	"/assets/dsr/css/custom.css"
]

custom.css in bench/apps/custom_app/custom_app/public/css

// remove create Workspace button
.custom-actions {
    display: none;
}

build.json in bench/apps/custom_app/custom_app/public

{
    "css/custom.min.css": [
    "public/css/custom.css"
    ]
}

Thanks!

1 Like