Page 1 of 1

Frontend galleries: Tab Subcategories shown but disabled in options

Posted: 22 Jul 2026, 11:05
by pat01
Hello

In the Options > User I did disable creation of subcategories and I have set number of subcategories to zero. But still, in the frontend the tab "Subcategories" is shown.

How can I remove it?

Screenshot:
https://prnt.sc/-wTNC45DHblW

Thanks a lot.

Regards
Patrick

Re: Frontend galleries: Tab Subcategories shown but disabled in options

Posted: 23 Jul 2026, 13:39
by christine
Hi Patrick,

That would work with the following:

Code: Select all

a#phTabId6a60b4f75adb0Itemsubcategories { display: none; }
But unfortunately, only with the ID number. The above is just one example with an ID 6a60b4f75adb0.
If you hover over the subcategories field with the Inspector, you'll find your ID number.

The ID number changes, unfortunately. Maybe I'll find something else...

Kind regards,
Christine

Re: Frontend galleries: Tab Subcategories shown but disabled in options

Posted: 23 Jul 2026, 17:08
by Jan
Hi, which version of Phoca Gallery do you run?

Re: Frontend galleries: Tab Subcategories shown but disabled in options

Posted: 24 Jul 2026, 11:11
by christine
Hi Patrick,

Try this. It works temporarily:

Code: Select all

li.phTabsLi:nth-child(3) {
display: none !important; 
}
Kind regards,
Christine