Categories / Category view / name

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

Categories / Category view / name

Post by Reddar » 14 Jan 2020, 15:43

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: 43171
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Categories / Category view / name

Post by Jan » 14 Jan 2020, 18:16

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 Member
Phoca Member
Posts: 33
Joined: 29 Mar 2019, 23:33

Re: Categories / Category view / name

Post by Reddar » 14 Jan 2020, 19:06

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: 43171
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Categories / Category view / name

Post by Jan » 14 Jan 2020, 19:11

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 Member
Phoca Member
Posts: 33
Joined: 29 Mar 2019, 23:33

Re: Categories / Category view / name

Post by Reddar » 15 Jan 2020, 11:29

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 Member
Phoca Member
Posts: 33
Joined: 29 Mar 2019, 23:33

Re: Categories / Category view / name

Post by Reddar » 15 Jan 2020, 21:54

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: 43171
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Categories / Category view / name

Post by Jan » 16 Jan 2020, 21:18

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

Post Reply