K2 image - problem

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 Sep 02, 2014 10:52 am
Reply with quote
Report this post
Hello, I have problem with K2 image on iPhone in responsive mode (preview attached) and URL is here: http://martin-zoubek.wextra.cz/subdom/m ... 2/svatby-1

when I click on picture than lightbox img is distorted

Is there any solution how to fix it?

Thank you!
User avatar
Junior Boarder

teitbite
Tue Sep 02, 2014 8:32 pm
Reply with quote
Report this post
Please add this code to override.css and make sure override is enabled in template settings.

Code: Select all
#sbox-window,
#sbox-window iframe {
    height: auto !important;
    width: 90% !important;
}
User avatar
Moderator

GK User
Fri Sep 05, 2014 4:41 pm
Reply with quote
Report this post
THANK YOU!
User avatar
Junior Boarder

GK User
Fri Sep 05, 2014 4:53 pm
Reply with quote
Report this post
Hi, I already did it, but result is not good... I would like to have responsive layout and than I need responsive lightbox too :( Is it possible to change it somehow or is it possible to remove link from that pictures?

Thanks for help!
User avatar
Junior Boarder

GK User
Sat Sep 06, 2014 9:04 am
Reply with quote
Report this post
...here is the preview
User avatar
Junior Boarder

teitbite
Sun Sep 07, 2014 9:38 pm
Reply with quote
Report this post
Hi

I see that my code got overwritten by a different css file. Move this code at the end of tablet.css than it should work.
User avatar
Moderator

GK User
Wed Sep 10, 2014 10:49 am
Reply with quote
Report this post
...thank you for help. It is better now. If is there any possibility how to remove link from image I would rather definitely remove it :)
User avatar
Junior Boarder

teitbite
Wed Sep 10, 2014 11:01 am
Reply with quote
Report this post
Hi

You will need to edit file /html/com_k2/templates/default/item.php find where the images is being loaded and delete the <a></a> around it. If You will have problems please send me an access to ftp so I'll make it for You.
User avatar
Moderator

GK User
Fri Sep 12, 2014 9:00 am
Reply with quote
Report this post
Thank you for help! Now it is perfect :)
User avatar
Junior Boarder


cron