Border image on K2 item

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
Mon Sep 02, 2013 5:43 pm
Reply with quote
Report this post
Hi the team,
I've a problem to have a correct border around the image on my k2 item.
You can see a exemple here : http://www.casamusicale.net/agenda-bas/ ... ement.html
I would like the border-right (it is a white border) next to my image & not at the end of the block. Others sides are ok (left, bottom & top).
Actually i've the link "a class="itemImage modal"" with a "width:100%;" but it seems to do not work.
Can you help me please ? :D
User avatar
Junior Boarder

GK User
Tue Sep 03, 2013 7:42 am
Reply with quote
Report this post
Please add this code to override.css file in root/templates/gk_template_name/css directory :
Code: Select all
a.itemImage > img { border-right: 1px solid #fff !important}

and then just remember to enable "Use override CSS" option in template advanced settings tab.
User avatar
Platinum Boarder

GK User
Tue Sep 03, 2013 9:27 am
Reply with quote
Report this post
Hi,
It doesn't work :(
On this link for exemple http://www.casamusicale.net/agenda-bas/ ... d-ete.html
my border isn't around the picture, the "a" is too long on the right, I wish it ends just after the image (to have the transition effect ok like on this page : http://www.casamusicale.net/groupes-cie.html)
I hope my explain is clear.
User avatar
Junior Boarder

GK User
Wed Sep 04, 2013 1:04 pm
Reply with quote
Report this post
So i find the solution. I edit my css & create a special template with K2 for my website.
It works now :)
User avatar
Junior Boarder

GK User
Thu Sep 05, 2013 9:19 am
Reply with quote
Report this post
I've visited your site and in fact the A element has 100% width but the IMG inside not - that's why I've send you code for IMG not A tag.
User avatar
Platinum Boarder


cron