Hi. For my thumbnail layout I have only the thumbnail; no Detail, Download, Folder icons. In my Parameters, under 'Category View Settings', I have set "Display Name: Show Category Name Only".
This works fine when viewing the Categories layout (with the name under each Category) but when I view a Category there's an empty padding space below each thumbnail within it's box - where if I did have "Display Name: Show" the name of each thumbnail would show. I have 5px padding which is correct at top, left, right of thumbnail but below there's about a 15px padding.
Should that space be there? Is it possible to collapse that space if I only show the Category name and not the thumbnail name?
Thanks,
Wesley
Remove bottom padding when 'Category Name Only'
-
hominid4
- Phoca Member

- Posts: 12
- Joined: 16 Nov 2009, 23:39
- Jan
- Phoca Hero

- Posts: 49297
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Remove bottom padding when 'Category Name Only'
Hi, see parameters:
https://www.phoca.cz/documents/2-phoca-g ... -menu-item
you can add some space in this parameter:
Category Box Space
you can add the minus values too here.
Jan
https://www.phoca.cz/documents/2-phoca-g ... -menu-item
you can add some space in this parameter:
Category Box Space
you can add the minus values too here.
Jan
If you find Phoca extensions useful, please support the project
-
hominid4
- Phoca Member

- Posts: 12
- Joined: 16 Nov 2009, 23:39
Re: Remove bottom padding when 'Category Name Only'
Thanks Jan, but if I remove that space it cuts into the lettering of the category names. Is it possible to have to where if there is just the category name only that the space automatically collapses under the image thumbnail if it doesn't have a name? Or is it supposed to do that and I'm doing something wrong?
Thanks again!,
Wesley
Thanks again!,
Wesley
- Jan
- Phoca Hero

- Posts: 49297
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Remove bottom padding when 'Category Name Only'
No, as all boxed need to be the same height, so you cannot stylize only selected boxes.
Jan
Jan
If you find Phoca extensions useful, please support the project
-
hominid4
- Phoca Member

- Posts: 12
- Joined: 16 Nov 2009, 23:39
Re: Remove bottom padding when 'Category Name Only'
Ah ok, thanks. Would an if-else statement work in this case? Such as if there's a title then add the extra space but if else no title then don't add that space?
Thanks!,
Wesley
Thanks!,
Wesley
- Jan
- Phoca Hero

- Posts: 49297
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Remove bottom padding when 'Category Name Only'
Hi, as there are a lot of icons which can be disabled or enabled, Phoca Gallery tries to count the place and make the number of rows correctly. It solves it as all the boxes should be the same (because of design effect) I didn't try to make different box high so I cannot say what exactly should be done but of course everything is possible so some if else can do such feature.
Jan
Jan
If you find Phoca extensions useful, please support the project