[SOLVED] changing pg-cv-box dimensions in gallery 4 beta

Phoca Gallery - image gallery extension
the_observer
Phoca Newbie
Phoca Newbie
Posts: 9
Joined: 14 Apr 2013, 12:07

[SOLVED] changing pg-cv-box dimensions in gallery 4 beta

Post by the_observer »

Hi all.

I am sorry to add one more question because i think i feel a little the burden of answering so many questions.
I am not lazy and i have searched a lot around but i really don't know what to do :( other than ask now.
So here it goes.

Problem short description:

I would like to change the dimensions of thumbnails box (category view).
Using firebug i see that i should change these :

Image

The problem is that i cannot find these values in phocagallery.css nor in default.css

Where are they or What am i doing wrong?
Isn't phocagallery 4 beta not depended from these files only?

******************************

Problem long description:

What i am trying to do is this:

Image

Now i have this:

Image which i dont like because the letters go vertically.

I dont know css but i try with the help of firebug to search and change what i need (maybe i learn a bit too) and i have made many changes without asking in the forum at once.
But this time i fail.

So to accomplish the above i have this path to follow:

1.Delete pg-cv-box width:100px; (which i dont find where is located (good start eh?)
If i find it and delete it the layout will become like this :

Image

2. Then in the template.css (i found this one :) ) i have to change the value of text align to -moz -center like this :

Image and so i will have accomplish the desired result (or so i think) mentioned above.


Thank you for your time reading this.

Regards,
the_observer.
Last edited by the_observer on 18 May 2013, 18:35, edited 1 time in total.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49149
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: changing pg-cv-box dimensions in gallery 4 beta

Post by Jan »

Hi, you can set the dimensions in parameters: https://www.phoca.cz/documents/2-phoca-g ... w-resizing

Boxes and thumbnails are displayed by this settings. To modify it then you need to change directly php code.

Jan
If you find Phoca extensions useful, please support the project
the_observer
Phoca Newbie
Phoca Newbie
Posts: 9
Joined: 14 Apr 2013, 12:07

Re: changing pg-cv-box dimensions in gallery 4 beta

Post by the_observer »

Thank you for your time answering me Jan.
Post Reply