Page 1 of 1
Hide 'No Subcategories' text
Posted: 18 Aug 2020, 09:17
by nigelj
Please can some help me with how to hide the 'No Subcategories' text that is displayed on the Categories view page in this case?
Many thanks, Nige
Re: Hide 'No Subcategories' text
Posted: 18 Aug 2020, 12:53
by Benno
Hi,
go to: backend --> Components --> Phoca Download --> Styles
Create a custom.css and copy & paste this code to custom.css:
Code: Select all
#phoca-dl-categories-box .pd-no-subcat {
display: none;
}
Clear all caches!
Kind regards,
Benno
Re: Hide 'No Subcategories' text
Posted: 18 Aug 2020, 14:05
by nigelj
Thanks, but that doesn't work!
Probably not the best way to do this, but I've added COM_PHOCADOWNLOAD_NO_SUBCATEGORIES="" to my language override ini file.
Re: Hide 'No Subcategories' text
Posted: 18 Aug 2020, 14:50
by Benno
Hi,
as I wrote above, you need to clear all caches (Joomla! & Browser).
Kind regards,
Benno
Re: Hide 'No Subcategories' text
Posted: 18 Aug 2020, 14:52
by nigelj
You did, and I did clear both!
Re: Hide 'No Subcategories' text
Posted: 18 Aug 2020, 20:15
by Jan
Hi, yes, you can use language override, but the CSS way is easier. If it does not work for you, the only way is to inspect in browser developer tool why the CSS is not applied.
Jan