-
Author
-
October 7, 2017 at 23:28 #175975wilhalphotoParticipant
Please take a look at the attached screenshot. I am using a KLEO Post Carousel to display those “posts”.
How can I modify the display so each displayed image is:
- vertically centered
- sized uniformly (for example, maximum height = 250px)
Please advise. Thank you!
-WillAttachments:
You must be logged in to view attached files.October 7, 2017 at 23:36 #175978Kieran_SQModeratorHi,
You can use the below CSS to force a max height on the image of 250px. You can add this to Appearance > Editor > KLEO Child > Style.css or to Theme Options > General Settings > Scroll to: Quick CSS
.kleo-carousel .post-image img {max-height: 250px !important;}
However this CSS will only go so far, the images appear to be somewhat different sizes, you should create a template image for the size desired and resave each logo positioned within the new sizing template to make it look great.
Thanks,
Kieran.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionIf you like the theme or the support you've received please consider leaving us a review on Themeforest!
Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.
October 8, 2017 at 00:23 #175979wilhalphotoParticipantHi,
Thanks for a very prompt reply.
But, I don’t want to do this for the entire site. Only for that particular container.
And, what’s the solution for vertical alignment.thanks!
-willPS: I’m pulling those images from external links so i’m hoping they can be proportionally resized before being displayed.
October 8, 2017 at 16:13 #176019Kieran_SQModeratorHi,
To target that container only please go into WP Admin > Page > Row > Edit and assign a custom ‘Element ID’. Once you have done this you can add it before the CSS stated above to target only that element.
#mycustomid .kleo-carousel .post-image img {max-height: 250px !important;}
For the vertical alignment and dynamic scaling I will ask my colleague @Radu to look into this for you, they’ll be in touch ASAP Mon-Fri East European Time.
Thanks,
Kieran
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionIf you like the theme or the support you've received please consider leaving us a review on Themeforest!
Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.
October 8, 2017 at 17:13 #176033wilhalphotoParticipantOK. Thanks!
I’ll be waiting for Radu’s answer for the other problem.-will
October 9, 2017 at 18:47 #176136RaduModeratorHi,
did you have tried those options from the row options ?
Tried with some css but nothing reliable… try those options please
Cheers
RHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionOctober 10, 2017 at 18:27 #176244wilhalphotoParticipantYes, I did try them (any combination: one at a time and both of them at the same time), but the items are still positioned at the top.
Thanks!
-WillOctober 11, 2017 at 17:02 #176338RaduModeratorHi,
Tried again CSS solution but it’s hard to make that to be align if the images has different ratios
Wide image : https://i2.wp.com/everychildinc.org/wp-content/uploads/2016/08/every-child-inc-sticky-logo.png?zoom=2&w=1200&ssl=1
Portrait image : https://i2.wp.com/www.newsunrising.org/wp-content/uploads/2015/04/NSR-Logo-web.png?zoom=2&w=1200
So my suggestion it’s to choose all images to have same ratio, and for images wide add them in photoshop in a size like this : https://i2.wp.com/www.newsunrising.org/wp-content/uploads/2015/04/NSR-Logo-web.png?zoom=2&w=1200
Cheers
RHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution -
AuthorPosts
The forum ‘Bugs & Issues’ is closed to new topics and replies.