@gonzdi the following should do the trick with the searchbutton:
#searchbox {
display: none;
}
Not displaying the settings button in files app is way harder, because the simple way would hide the settings button of ALL apps, not only files.
If your users are in a nextcloud group, you an limit the customCSS app to this group in app administration.
You can see the needed class and id names in the source coude of the webite. You can view this in your browser.
But ATTENTION: The buttons will only be hidden. Someone with technical knowledge can make them visible and use them. Itās not possible to prohibit the use of a button via css.
Hi Swindhab,
beforehand, thank you very much for taking your time to answer my doubts.
I am trying the code lines to disable the searchbox, but it is not working, as the search icon is still showing in the bar menu. Any alternative suggestion?.
Moreover, definitely, I will dive in properly in the option you are propossing to disable the settings menu.
Thank you very much for your attention and have a nice weekend.
Sorry, the code I posted was not right. Take this and it should work (will hide not the id but the class searchbox. Difference is the . instead of the #):
Any idea why Custom CSS is not working for me? I tried changing the header image, but the CSS I entered wasnāt being picked up.
I had to edit the server.scss file directly for it to be picked up.
What is the version of your nextcloud? Is the customCSS plugin woking in general? Did you save the changes und reload the website? Is the use of the plugin limited to a specific usergroup?
This should hide the settings button in the menu on the left side (for ALL apps, not only files app)
finally I have got all of them hidden, so thank you very much for your support.
However, I am trying to remove/hide from the CSS the header-right āsettingsā menu button without remove the ālogoutā one, as I do not want the user to access to the settings option but still be able to logout from their session. I have tried different options from the Custom CSS app, but they are
type and it is not being easy for me to get it. Please, can you shed some light on this matter?.
it is working fine for specific items, however, when I try to remove the āsettings>sharingā item in the settings>personal left hand menu option, it is a
option but does not work:
Please, can you advice?.
Thank you very much for your full support and attention.
I donāt get what you mean with a ā*ā option?? Maybe you want to make a list what to hide (with screenshots?). Maybe I can helpā¦
For example I donāt understand what your picture should show me, as it is the code for āaccessibility settingsā and not āsharing settingsā as you described in your textā¦
thatĀ“s exactly what I need to get everything properly customized!. Thank you very much for all your support and patience. Have a great day. Kind regards
hint hint the currency you show your gratitude here on the forum is measured in - so why not just giving him a heart for every positive answer? hint hint
Thank you so much for your port, i am looking to hide " Direct log in " button from the main page or option to rename this button. actually user will use SAML SSO login only.