ya… i thought so, too. until i remebered that i can’t code in css
any examples for like hiding contacts menu or remember login? or even sign in without chat?
I am new using NextCloud and following the topic, I would like to hide/disable the “search menu” (header top right side next to contactsmenu) and “Files>SETTINGS” menu (bottom left hand side) but only for Groups/users and not affecting the admin.
As per my above request, I am struggling to find out the right names to disable their icons in the CSS Custom app, so just wonder if there is any command or name list for all of them…much appreciated if you could point me in the right direction
Thank you very much for your attention and support.
@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