-
AuthorPosts
-
ppnilsson Friend
ppnilsson
- Join date:
- October 2015
- Posts:
- 38
- Downloads:
- 11
- Uploads:
- 12
- Thanks:
- 2
- Thanked:
- 1 times in 1 posts
January 6, 2016 at 3:36 pm #840266Hi there, I’m using social II and k2. within category view I’m attempting a alignment problem.
The problem occurs if the item image is higher then width as shown on the attached image.
Do you have a solution for this?many thanks
TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
January 6, 2016 at 4:48 pm #840304It would be most helpful if you could provide the url of the site you’re working on,
as well as temporarily set "Optimize CSS" to "Off" within your Template Manager–General settings.Also, perhaps a screenshot mockup of how you are wanting the images to display.
ppnilsson Friendppnilsson
- Join date:
- October 2015
- Posts:
- 38
- Downloads:
- 11
- Uploads:
- 12
- Thanks:
- 2
- Thanked:
- 1 times in 1 posts
January 7, 2016 at 8:39 am #840724This reply has been marked as private.Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
January 10, 2016 at 2:51 am #842557Hi ppnilsson
Try this code in custom.css file.com_k2 div.catItemView {min-height: 350px;}
Save file , clean cache and check.
ppnilsson Friendppnilsson
- Join date:
- October 2015
- Posts:
- 38
- Downloads:
- 11
- Uploads:
- 12
- Thanks:
- 2
- Thanked:
- 1 times in 1 posts
January 11, 2016 at 11:29 am #844055Dear Pankaj Sharma,
that leads to enormous whitespace below horizontal images…
isn’t there any possibility to set the height of the item view in cetegrory in relation to the height of the image?
best regards
Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
January 11, 2016 at 2:42 pm #844236Hi
the height is auto , but there is padding define that is applied globally on the border . so you need to increase the values incase it match the item border here > http://prntscr.com/9orcajAuthorPostsViewing 6 posts - 1 through 6 (of 6 total)This topic contains 5 replies, has 3 voices, and was last updated by Pankaj Sharma 8 years, 10 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
k2 alignment of images in category view
Viewing 6 posts - 1 through 6 (of 6 total)