Home Forums Panda HTML Theme Pretty photo not working on Mobile

This topic contains 2 replies, has 2 voices, and was last updated by  jmanuel_ll 4 years, 1 month ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #3313

    jmanuel_ll
    Participant

    Hi there,

    Looks like PrettyPhoto is not working on mobile devices (click on any item and it opens the image separately) whereas in desktop mode works OK. Would you please have a look to http://mayravinas.com/diseno/ilustraciones

    Thank you.
    JM

    #3314

    Johnny
    Participant

    Hi, please open file js/main.js and find this line:

    if( jQuery(window).width() > 767 ){				 
    	  jQuery("#item-wrap a[data-rel^='prettyPhoto']").prettyPhoto({

    update it to :

    if( jQuery(window).width() > 240 ){				 
    	  jQuery("#item-wrap a[data-rel^='prettyPhoto']").prettyPhoto({

    Best

    #3316

    jmanuel_ll
    Participant

    Thank you!

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.