image of 1st item in a category view is bigger than the rest

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 Apr 08, 2014 5:21 pm
Reply with quote
Report this post
When I use a 3-column category the very first item image is a bit bigger than the rest of the item images. It only appears at the very first item. The next line is in sync.
What can I do?
User avatar
Senior Boarder

GK User
Wed Apr 09, 2014 9:31 pm
Reply with quote
Report this post
Hello,

Could you provide an URL to your website with this problem?
User avatar
Administrator

GK User
Thu Apr 10, 2014 11:56 am
Reply with quote
Report this post
Hi Dziudek, here's the link: http://bureaumulder.nl/www1/index.php/producten/led
I checked it with Firebug, but couldn't find why it's (only a bit) bigger. It's the cause that the first line of the category is out of sync.
The size of the images is exactly the same...
User avatar
Senior Boarder

GK User
Thu Apr 10, 2014 10:05 pm
Reply with quote
Report this post
Please try to replace in css/k2.css file the following fragment:

Code: Select all
.itemsContainer:first-child .itemsContainerWrap, .itemContainer:first-child .itemsContainerWrap {
margin: 0!important;
}


to:

Code: Select all
.itemsContainer:first-child .itemsContainerWrap, .itemContainer:first-child .itemsContainerWrap {
margin: 0 10px!important;
}
User avatar
Administrator

GK User
Fri Apr 11, 2014 4:09 pm
Reply with quote
Report this post
You did it again mate! Thanx again for the quick answer, which was - again - the solution. This is what I call service....
But, since it was programmed (by K2) in css, why showing the first element in a range bigger than the rest? I don't get it!
User avatar
Senior Boarder

GK User
Fri Apr 11, 2014 10:33 pm
Reply with quote
Report this post
Could you describe more clear:

But, since it was programmed (by K2) in css, why showing the first element in a range bigger than the rest? I don't get it!


?
User avatar
Administrator

GK User
Sun Apr 13, 2014 2:58 pm
Reply with quote
Report this post
Sorry for confusing you Dziudek. I meant that it was a K2-thing (bug?) that caused the problem. They probably programmed it with some purpose to show the image of the very first item in a category a bit bigger than the rest. I can't figure out why they would do that since it's not nice to see that the first line of a category is not in sync.
So it's not of your concern, I was only curious for the reason why K2 did this. No big deal since you gave me the solution to fix this problem...
User avatar
Senior Boarder


cron