Remove image effect in mobile view

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
Wed Apr 30, 2014 11:39 am
Reply with quote
Report this post
Hi, please look at my site www.coldplayzone.it in mobile view.

I would like to remove the effect on images, because when I scrool the page touching an image on my iPhone, the image disappears for 1 second and then it comes back. It's an annoying effect in mobile view.

Thanks for your help.
User avatar
Expert Boarder

GK User
Wed Apr 30, 2014 12:16 pm
Reply with quote
Report this post
Hi,
I think you should use tips from: http://www.gavick.com/documentation/gen ... ox-effect/
inside: mobile.css file /template folder/

or even more deeper ...
User avatar
Platinum Boarder

GK User
Wed Apr 30, 2014 3:00 pm
Reply with quote
Report this post
Sorry but I can't solve this. Could you please help me with the exact code to put in mobile.css or override.css?
I tried the code in that page you suggested me but it doesn't work.
User avatar
Expert Boarder

GK User
Thu May 01, 2014 12:01 pm
Reply with quote
Report this post
Sure,
to be sure in first you can check adding inside override.css - but remember this is global - so joomla will use it on both mobile and desktop view.
If you want to use my code only for selected screen size - use mobile.css
there find line 209 and 215 inside @media only screen... { ...} block, I hope that now you will understand.

p.s.
Read more about CSS3 @media.
User avatar
Platinum Boarder

GK User
Thu May 01, 2014 12:04 pm
Reply with quote
Report this post
I tried the code in that page you suggested me but it doesn't work.

Right now on desktop & tablet I didn't saw any effects only white transparent layer.

p.s.
Check my Wiki manual again ...I've added more info at the bottom.
User avatar
Platinum Boarder

GK User
Fri May 02, 2014 9:37 am
Reply with quote
Report this post
Hi Pawel, I added your code in mobile.css in the exact point you suggest me but I didn't solve completely.
After adding this code I tried to see my site on iPhone... when I scroll down touching an article image now it doesn't disappear anymore but when I scroll up the image disappear again for 1 second. Could you please have a look and tell me what's wrong?

thanks
User avatar
Expert Boarder

GK User
Fri May 02, 2014 11:02 am
Reply with quote
Report this post
Ok, to be more sure.. we still talk about HomePage ?

Can you check on different browser not only included by default Safari.

p.s.
I will ask somebody who has iPhone to check this topic.
User avatar
Platinum Boarder

GK User
Fri May 02, 2014 11:32 am
Reply with quote
Report this post
Yes, we are talking about the Homepage, if you scroll under the Grid module in the header there are 3 NSP moldules.
The article image of these 3 NSP modules disappear when I scroll touching these images.
I tried with Safari and with Chrome... and it's the same
User avatar
Expert Boarder

GK User
Mon May 05, 2014 8:19 am
Reply with quote
Report this post
Which iOS version do you use? I've just checked your website on iOS 7.1.1 and can't see this problem.
User avatar
Platinum Boarder

GK User
Mon May 05, 2014 8:51 am
Reply with quote
Report this post
Yes I have iOS 7.1.1 version too and if I scroll the page (with the finger on NSP module's image) the image disappear for 1 second and then comes back.
It's not a cache problem because I emptied the cache. However it's not a big problem for me....
User avatar
Expert Boarder

GK User
Tue May 06, 2014 9:11 am
Reply with quote
Report this post
Could you disable CSS compression for second? it will be much easier to check CSS then. The only effect that I get is kind of opacity animation but that's all, maybe I just scroll to fast.
User avatar
Platinum Boarder

GK User
Tue May 06, 2014 9:27 am
Reply with quote
Report this post
Are you talking about: Module settings > External files > Use default CSS ???
If so, it's set to OFF
User avatar
Expert Boarder

GK User
Wed May 07, 2014 9:31 am
Reply with quote
Report this post
No I mean Use CSS compression in template advanced settings because right now files are combined to one and it is really hard to check CSS.
User avatar
Platinum Boarder

GK User
Fri May 09, 2014 8:54 am
Reply with quote
Report this post
Ok, done... I disabled CSS compression
User avatar
Expert Boarder

GK User
Mon May 12, 2014 8:19 am
Reply with quote
Report this post
Please try to add this code to override.css file :

Code: Select all
.nspArt .nspImageWrapper img {
-webkit-transition:none !important;
  -moz-transition:none !important;
  -o-transition:none !important;
  transition:none !important;
}
User avatar
Platinum Boarder

GK User
Mon May 12, 2014 8:34 am
Reply with quote
Report this post
Now it works! Thank you so much
User avatar
Expert Boarder


cron
Remember me
Register New Account
If you are old Gavick user, click HERE for steps to retrieve your account.