Frontend galleries: Tab Subcategories shown but disabled in options

Phoca Gallery - image gallery extension
pat01
Phoca Member
Phoca Member
Posts: 33
Joined: 22 May 2013, 16:06

Frontend galleries: Tab Subcategories shown but disabled in options

Post 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
User avatar
christine
Phoca Hero
Phoca Hero
Posts: 3015
Joined: 28 Nov 2010, 17:20

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

Post 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
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49497
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

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

Post by Jan »

Hi, which version of Phoca Gallery do you run?
If you find Phoca extensions useful, please support the project
User avatar
christine
Phoca Hero
Phoca Hero
Posts: 3015
Joined: 28 Nov 2010, 17:20

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

Post by christine »

Hi Patrick,

Try this. It works temporarily:

Code: Select all

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