Removing zoom and lightbox effect

Support help forum dedicated to free and commerical templates for Joomla 3 and 2.5 version.
GK User
Sat Jul 20, 2013 1:21 pm
Hello !

Sorry to bother you, but do you know how to remove the zoom and lightbox effect on k2 image ?

Tks a lot !

Florian

buggy-adventures.com
User avatar
Gold Boarder

GK User
Sat Jul 20, 2013 1:32 pm
Hi,
you have edit K2 files it's template.
It's depends on GK template which you used, but generally you have to delete all
Code: Select all
class="modal" rel="{handler:'iframe',size:{x:990,y:550}}"


from files inside: TEMPLATE-NAME\html\com_k2\templates\default
User avatar
Platinum Boarder

GK User
Sun Mar 23, 2014 9:29 pm
Hello

I've just tried to remove it on kreendesign.com but could not find the code... which file is it again ?
User avatar
Gold Boarder

GK User
Sun Mar 23, 2014 9:43 pm
check my last post, there was a full link -- this file : item.php --> if you are talking about K2 item view !
User avatar
Platinum Boarder

GK User
Mon Mar 24, 2014 8:12 pm
Nooooooo i don't find it :'(

THe closer I have is this

<a class="itemEditLink modal" rel="{handler:'iframe',size:{x:990,y:550}}" href="<?php echo $this->item->editLink; ?>"><?php echo JText::_('K2_EDIT_ITEM'); ?></a>

/templates/gk_creativity/html/com_k2/templates/default/item.php

Do you know how can I remove it from the main image ? http://kreendesign.com/index.php?option ... Itemid=667

tks a lot !
User avatar
Gold Boarder

GK User
Wed Mar 26, 2014 9:57 pm
To remove zoom
Code: Select all
.itemImageBlock img:hover { transform:scale(1) !important; }

to remove popup
Code: Select all
rel="{handler:'iframe',size:{x:990,y:550}}"
User avatar
Platinum Boarder

GK User
Fri Mar 28, 2014 7:37 am
Hello

I've found it on templates/gk_creativity/css/k2.css

-webkit-transform: scale(1.06);
-moz-transform: scale(1.06);
-ms-transform: scale(1.06);
-o-transform: scale(1.06);
transform: scale(1.06);

Now it looks fine

http://kreendesign.com/index.php?option ... Itemid=667
User avatar
Gold Boarder

GK User
Tue Apr 01, 2014 1:23 pm
florian-salsamundo wrote:Nooooooo i don't find it :'(

THe closer I have is this

<a class="itemEditLink modal" rel="{handler:'iframe',size:{x:990,y:550}}" href="<?php echo $this->item->editLink; ?>"><?php echo JText::_('K2_EDIT_ITEM'); ?></a>

/templates/gk_creativity/html/com_k2/templates/default/item.php

Do you know how can I remove it from the main image ? http://kreendesign.com/index.php?option ... Itemid=667

tks a lot !



And for the template RockWall ??

We tried it, impossible to remove the picture rollover scale effect... If someone have a idea ?
User avatar
Expert Boarder

GK User
Tue Apr 01, 2014 10:30 pm
Ok in GK Rockwall - but where?
In module, article or K2 item?
User avatar
Platinum Boarder

GK User
Tue Apr 01, 2014 10:33 pm
In general on HomePage this should help:

Code: Select all
.nspArt .nspImageWrapper:hover img {
   -webkit-transform: scale(1.0) rotateZ(0deg);
   -moz-transform: scale(1.0) rotateZ(0deg);
   -ms-transform: scale(1.0) rotateZ(0deg);
   -o-transform: scale(1.0) rotateZ(0deg);
   transform: scale(1.0) rotateZ(0deg);
}

:idea: Custom CSS: http://www.gavick.com/documentation/joo ... -template/
User avatar
Platinum Boarder

GK User
Wed Apr 02, 2014 9:09 am
Hello, thank for the reply.

We want delete this scale effect everywhere. On K2 articles and on the homepage.

We put the code on the override.css and it is ok (it still stay a little effect on 1 image) for K2 articles in News Show Pro GK5 but in other module News Show Pro GK5, it is not working...

So is there a solution to remove this scale effect everywhere (not put some data to 0 but remove it completely) ?

Regard.
User avatar
Expert Boarder

GK User
Wed Apr 02, 2014 10:29 am
Research all template CSS files to find "transform: scale" phrase and override it or change in this file.
to get default values.
User avatar
Platinum Boarder

GK User
Wed Apr 02, 2014 10:51 am
Hello,

we remove #gkStyleArea a:hover, etc... from template.css and search on other file (like k2.css); but can't find other.
And we have a strange scale effect on 1 picture.

Why it is working on a news show pro gk5 module and not on the other new show proGK5 modules ??

You don't have a solution to simply remove this very bad scale effect ?

Reagrd.
User avatar
Expert Boarder

GK User
Wed Apr 02, 2014 10:55 am
Yes, we don't have such a switch to ON/OFF this effect.
I have found "transform: scale" in those files:
gk_rockwall\css\template.css
gk_rockwall\css\gk.stuff.css
User avatar
Platinum Boarder

GK User
Wed Apr 02, 2014 11:05 am
ok, I think I know about what movement you are trying to tell me
Here global solution !

Code: Select all
.nspArt .nspImageWrapper:hover img,
.gkNspPM-TitleOverlay:hover .gkImgOverlay,
.gkNspPM-TitleOverlay > figure:hover > img
 {
   -webkit-transform: none;
   -moz-transform: none !important;
   -ms-transform: none !important;
   -o-transform: none !important;
   transform: none !important;
}


Read also: http://www.gavick.com/documentation/gen ... ox-effect/
User avatar
Platinum Boarder

GK User
Wed Apr 02, 2014 12:58 pm
That's it ! It is like a on/off button ;-)

Thank you so much for your help, this solution is working very well.
User avatar
Expert Boarder

GK User
Wed Apr 09, 2014 3:20 pm
Looks fine now ! Tks u
User avatar
Gold Boarder


cron