Fixed box size?

Phoca Gallery - image gallery extension
arthurk
Phoca Member
Phoca Member
Posts: 14
Joined: 17 May 2019, 09:41

Fixed box size?

Post by arthurk »

Hi, how can i get in category view a fixed box size 250px?
I set in panel 250px but see the picture for the result.

http://dutchconcertphotos.com/images/we ... x_size.png

tnx Arthur

Tags:
christine
Phoca Hero
Phoca Hero
Posts: 2819
Joined: 28 Nov 2010, 17:20

Re: Fixed box size?

Post by christine »

Hi Arthur,

it depends on length of .pg-csv-name. You can try it with:

Code: Select all

.pg-csv-box {
height: 280px !important;
}
OT: Check also background-color of hover, of: .pg-cv-box:hover{} resp. .pg-csv-box:hover {}

Kind regards
Christine
arthurk
Phoca Member
Phoca Member
Posts: 14
Joined: 17 May 2019, 09:41

Re: Fixed box size?

Post by arthurk »

Tnx but that's not working.
I added it in "media/com_phocagallery/css/custom/default.css"
Is that the right file or is there anotherone?

Code: Select all

.pg-csv-box {
   float:      left;
   padding:    10px;
   margin:    5px;
   background: #000;
   hight: 380px !important;
   -webkit-box-shadow:1px 1px 2px 1px rgba(120, 120, 120, 0.5), inset 0px 0px 7px 7px rgba(240, 240, 240, 0.2);
   box-shadow:1px 1px 2px 1px rgba(120, 120, 120, 0.5), inset 0px 0px 7px 7px rgba(240, 240, 240, 0.2);
   -webkit-border-radius: 2px;
   border-radius: 2px;
Arthur
arthurk
Phoca Member
Phoca Member
Posts: 14
Joined: 17 May 2019, 09:41

Re: Fixed box size?

Post by arthurk »

My mistake, was looking to the wrong category.
It works for the category by user.

Now i go search for the "Categories"

Arthur
arthurk
Phoca Member
Phoca Member
Posts: 14
Joined: 17 May 2019, 09:41

Re: Fixed box size?

Post by arthurk »

Found it.
Tnx for directing me to the right point.

Code: Select all

.phocagallery-box-file,
.pg-csv-box {
   float:      left;
   padding:    10px;
   margin:    5px;
   background: #000;
   height: 280px !important;
Arthur
christine
Phoca Hero
Phoca Hero
Posts: 2819
Joined: 28 Nov 2010, 17:20

Re: Fixed box size?

Post by christine »

Hi Arthur,

you had in previous post: hight instead of height ........

Thanks for your feedback en groetjes,
Christine
arthurk
Phoca Member
Phoca Member
Posts: 14
Joined: 17 May 2019, 09:41

Re: Fixed box size?

Post by arthurk »

Hahaha en je woont waarschijnlijk nog vlak om de hoek ook ;-)

tnx
christine
Phoca Hero
Phoca Hero
Posts: 2819
Joined: 28 Nov 2010, 17:20

Re: Fixed box size?

Post by christine »

he, he - nee toch, een beetje een eind weg is het toch - in oostenrijk :)
Groetjes
Christine
Post Reply