Categories / Category view / name

Phoca Gallery - image gallery extension
Reddar
Phoca Enthusiast
Phoca Enthusiast
Posts: 58
Joined: 29 Mar 2019, 23:33

Categories / Category view / name

Post by Reddar »

I would to have this presentation :

1. Categories view with categories name:
Image

2. Category view with nothing
Image

I've tested a lot of parameter modification but i get :

But i get : 1/ and

Image

or 2/ and
Image


Can you help me ?

Thanks
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47870
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Categories / Category view / name

Post by Jan »

Hi, if you are using Mosaic effect for the category view and you have some margin/padding between photos, you need to resize the image so it is the same height like two images (two images + padding/margin = one image height)

See parameter: Margin (Additional Thumbnails)

Image

(Thumbnails must be recreated after setting the parameter - so the thumbnails will have new height)

Names: you can display names everywhere and then hide them per CSS for the part of website where exactly do you need to hide it. :idea:

Jan
If you find Phoca extensions useful, please support the project
Reddar
Phoca Enthusiast
Phoca Enthusiast
Posts: 58
Joined: 29 Mar 2019, 23:33

Re: Categories / Category view / name

Post by Reddar »

Hello Jan,

Thanks for your reply.

The bottom margin you see on the category view appears when i select the option "Categories view with categories name"

There is no name but the application write a space below the picture ==> looks like a margin.

"<div class="pg-box-img-bottom">
<div class="pg-cv-name">&nbsp;</div>
</div>
"
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47870
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Categories / Category view / name

Post by Jan »

So try to set the "display:none" for the class .ph-box-img-bottom in category view.

Jan
If you find Phoca extensions useful, please support the project
Reddar
Phoca Enthusiast
Phoca Enthusiast
Posts: 58
Joined: 29 Mar 2019, 23:33

Re: Categories / Category view / name

Post by Reddar »

It's .pg not .ph :)

If i do that i don't have any name in the category view :) but also in the categories view :(

In fact the view 1/ above, is a categories view in a category view.

So the solution should :

- display the categories name in the categories view in category view,
- display nothing in the category view.

Feasible ?
Reddar
Phoca Enthusiast
Phoca Enthusiast
Posts: 58
Joined: 29 Mar 2019, 23:33

Re: Categories / Category view / name

Post by Reddar »

I have found a workaround, i use a categories view for 1/ and a category view for 2/.

So i can manage the name differently for each view.

Thanks for your help
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47870
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Categories / Category view / name

Post by Jan »

Ok
If you find Phoca extensions useful, please support the project
Post Reply