Give images in K2 category view all teh same height

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Tue Jul 01, 2014 5:25 pm
Reply with quote
Report this post
HI,

Please have a look here http://www.madonnafanclub.nl/films.

All images from the film articles are 900px in width. That's OK.
I find the height too high. I want all images to be 450px in height...
No cropping needed, just want to show the first 450 pixels from the pic (from the top).
The rest may "dissappear" in this categoryview and the text follows under the pic.

Is that possible?
User avatar
Gold Boarder

GK User
Wed Jul 02, 2014 8:37 am
Reply with quote
Report this post
No cropping needed, just want to show the first 450 pixels from the pic (from the top).


It is exactly cropping :)

Please add this code to override.css file in root/templates/gk_template_name/css directory :
Code: Select all
a.itemImage { max-height: 450px }

and then just remember to enable "Use override CSS" option in template advanced settings tab. Final effect should be like on this image » screenshot
User avatar
Platinum Boarder

GK User
Wed Jul 02, 2014 10:07 am
Reply with quote
Report this post
Awesome! It works :) thank you very much :)
User avatar
Gold Boarder


cron