K2 Category item layout in bike store

Amazing responsive, mobile ready VirtueMart e-commerce Joomla template
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
Sat Apr 20, 2013 8:04 am
Reply with quote
Report this post
Iam trying to figure out what the problem is here...
in the K2 Category item layout in bike store template the first items image always gets cut, or extra padding gets added... its like its different sized then other images... so I deleted that item checked the size of images 900x600px and reuploaded... in the category view item layout it should be small 330Px width... again the first one gets only that weird padding, they arelined up and when I check with web developer tools, in fact they are all 330Px wide???
Iam completely confused? is that a template setting? please see link and image attched:
weird-1.jpg

http://www.ka-mont.si/garazna-vrata.html
thank you for helping
User avatar
Senior Boarder

GK User
Sat Apr 20, 2013 8:41 am
Reply with quote
Report this post
Yes your image is 330px but the outer container is not 330px :) so it looks as if the image is less in size.

Use below css to keep outer box to 330px. You can add the code in to "/css/override.css" and enable css override in template settings > advanced settings > css override "on".

Code: Select all
.itemsContainer .itemsContainerWrap, .itemContainer .itemsContainerWrap { margin: 0px!important;}
.itemImageBlock {width: 330px;}


See you around...
User avatar
Platinum Boarder

GK User
Sat Apr 20, 2013 9:24 am
Reply with quote
Report this post
Why is it happening only to the first image in the layout ?
all settings are the same?
User avatar
Senior Boarder

GK User
Sat Apr 20, 2013 9:31 am
Reply with quote
Report this post
Because in K2.css first child of .itemsContainer has 0 margin and in rest it has 20px margin. So first child is roughly 350px in width where others are 330px.

See you around...
User avatar
Platinum Boarder

GK User
Sat Apr 20, 2013 9:44 am
Reply with quote
Report this post
Thanky a lot!!! :D
User avatar
Senior Boarder

GK User
Sat Apr 20, 2013 9:51 am
Reply with quote
Report this post
No problem at all, see you around...
User avatar
Platinum Boarder


cron