Help with Custom CSS to hide photos app

Questions with NC 30 this code brakes and dose not hide the app anymore :frowning: anyone have an suggestions ?

I use the memories app so i hide the default photos app but since i upgraded to NC30 this code no longer works :frowning: i tried to see if i can fix it but no luck.

Current settings:

.app-menu-main .app-menu-entry[data-app-id=photos] { display: none !important; }

li.app-menu-popover-entry a[href=“/apps/photos/”] { display: none !important; }

Why are you making it so complicated? All you need to do is deactivate the app! It is activated by default, but can be switched off:

occ app:disable -- photos

Or do you have a reason to keep the app anyway?


Much and good luck,
ernolf

1 Like

Hey!! From what I was reading the memories app requires the photos app to be enabled unless I’m wrong!

Yes, Memories uses the album feature of Photos, so if you disable Photos, the albums tab won’t be available in Memories.

But maybe you can just leave the Photos icon in top bar, and adjust the order of the apps, and maybe move the Photos app all the way to the right? I mean, customising Nextcloud’s CSS in general is just a tedious thing to do, if you are not really familiar with CSS, and even if you are, you always have to keep up with the changes beeing made… :wink:

li > a[href="/apps/photos/"] {
    display: none !important;
}