Can you set the Category List row height?

Phoca Gallery - image gallery extension
heyitsben
Phoca Member
Phoca Member
Posts: 15
Joined: 15 Feb 2013, 18:01

Can you set the Category List row height?

Post by heyitsben »

I see where to set the column width, but what about the row height? I have a randomly selected image showing for the link, and some images are not the same size. This leads to misaligned row heights. Is there a way to fix this? Thanks!!

Image
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9142
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: Can you set the Category List row height?

Post by Benno »

Hi,
can you post the URL please?

Kind regards,
Benno
heyitsben
Phoca Member
Phoca Member
Posts: 15
Joined: 15 Feb 2013, 18:01

Re: Can you set the Category List row height?

Post by heyitsben »

Hi, here is a link:

http://www.silverset.net/travel/states

If you keep refreshing the page, the row heights will change when the photo sizes change.

Thanks for the response!
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9142
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: Can you set the Category List row height?

Post by Benno »

Hi,
/templates/siteground-j15-68/css/template.css
Line 15
Change:

Code: Select all

body {
    color: #c0c0c0;
    font-family: Verdana,Tahoma,Arial,sans-serif;
    font-size: 13px;
    line-height: 1.3em;
    margin: 0;
    padding: 0;
}
TO:

Code: Select all

body {
    color: #c0c0c0;
    font-family: Verdana,Tahoma,Arial,sans-serif;
    font-size: 13px;
    line-height: 120px;
    margin: 0;
    padding: 0;
}
Kind regards,
Benno
heyitsben
Phoca Member
Phoca Member
Posts: 15
Joined: 15 Feb 2013, 18:01

Re: Can you set the Category List row height?

Post by heyitsben »

Hi, this does fix the problem! But it also affects all of the text on the website, so the spacing is very big. Is there another way?

Image
heyitsben
Phoca Member
Phoca Member
Posts: 15
Joined: 15 Feb 2013, 18:01

Re: Can you set the Category List row height?

Post by heyitsben »

Hi Benno, thanks for the response, and sorry for the late reply as I have been traveling.

This solution does work, but it affects the text on the entire website, so all of the text is spaced out very far. Is there another solution, or is there a way to apply this solution to only the Category List pages?

Thanks again,
Ben
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9142
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: Can you set the Category List row height?

Post by Benno »

Sorry, I don't know an other way.. :idea:

Kind regards,
Benno
christine
Phoca Hero
Phoca Hero
Posts: 2740
Joined: 28 Nov 2010, 17:20

Re: Can you set the Category List row height?

Post by christine »

Hi Ben,

it seem to be an old(er) version of phoca.

Try following:
at the end of template.css:

Code: Select all

div#phocagallery {
  line-height:120px;
 }
regards, Christine

Hi Benno :|
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9142
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: Can you set the Category List row height?

Post by Benno »

Hi Christine :) :)
heyitsben
Phoca Member
Phoca Member
Posts: 15
Joined: 15 Feb 2013, 18:01

Re: Can you set the Category List row height?

Post by heyitsben »

christine wrote:Hi Ben,

it seem to be an old(er) version of phoca.

Try following:
at the end of template.css:

Code: Select all

div#phocagallery {
  line-height:120px;
 }
regards, Christine

Hi Benno :|

This worked, thank you!!!
Post Reply