Digital experiences for all disciplines
New Landing › How can we help? › Themeforest Theme Support › Dante › lightbox / swipe doesn´t work
New Landing › How can we help? › Themeforest Theme Support › Dante › lightbox / swipe doesn´t work
- This topic has 13 replies, 4 voices, and was last updated 9 years by Rui Guerreiro – SUPPORT.
-
Posted in: Dante
-
November 3, 2014 at 6:23 pm #125264
hi there,
I´ve a General question concerning your themes lightbox, as I read it should Support swipe gestures, but when I open an Image of a gallery in the lightbox (for example also on your demo site http://dante.swiftideas.net/portfolio/robot-chicken/ -> deliverables), swipe gestures aren´t working on mobile devices in the lightbox?
I tried swiping on other devices too, but it doesn´t function? and on the mobile phone the Images to the left and to the right are so small, that you can´t really touch them, you Close the lightbox more often then you touch the Image is there a Workaround? or how can I disable this and use another one? do you have a 2nd responsive lightbox with swipe gestures available?
best regardsNovember 4, 2014 at 2:21 pm #125506Hi
Thanks for letting us know, I’ll get Ed to check that
– Kyle
November 4, 2014 at 4:30 pm #125569hi there, meanwhile as a Workaround, could you please tell me how to disable your/the themes lightbox, because if I use another plugin for lightbox, it always opens both lightboxes, your lightbox and the other plugin
best regardsNovember 5, 2014 at 10:57 am #125780Add this to your child theme’s functions.php file:
add_action('wp_enqueue_scripts', 'sf_deregister_scripts', 20); function sf_deregister_scripts() { wp_deregister_script('sf-ilightbox'); wp_dequeue_script( 'sf-ilightbox' ); }
– Kyle
November 5, 2014 at 11:06 am #125786hi there,
thank you for the help,
I only have the functions.php in the dante Folder,
but when I put this code into this file at the end before php tag is closed, there is a Syntax error, and on my site Comes this: Parse error: syntax error, unexpected ‘function’ (T_FUNCTION) in …..\wp-content\themes\dante\functions.php on line 323November 5, 2014 at 11:14 am #125790You need to use a child theme
– Kyle
November 5, 2014 at 3:04 pm #125917Just to clarify Kyle’s code, it should actually be this for Dante:
add_action('wp_enqueue_scripts', 'sf_deregister_scripts', 20); function sf_deregister_scripts() { wp_deregister_script('sf-viewjs'); wp_dequeue_script( 'sf-viewjs' ); }
– Ed
November 5, 2014 at 5:34 pm #125962hi there,
thank you for the code, now there is no more error
could you tell when swipe gestures will be available in your lightbox
best regardsNovember 5, 2014 at 5:38 pm #125964Which gallery styles? Can you provide a link to the issue?
– Ed
November 5, 2014 at 5:49 pm #125967the normal wordpress Gallery appeared with the square Images, I turned on and off the Gallery overwrite in the theme Options and then all was fine again
thank your
November 5, 2014 at 5:50 pm #125968Ahh yes – you need to make sure you have that active for the theme gallery styling.
– Ed
November 7, 2014 at 6:24 pm #126561hi ed,
I´ve one more question: I´ve now Disabled the Gallery Shortcode Override, and when I now just use the normal wordpress Gallery and also want to have the Pictures in 5 columns, it will always Show only 2 very Long columns.
I´ve searched some time now, and everywhere I found that this Problem occurs when the theme has limitations for example of the Content width? Do you know, how it also will Show the Images in 5 columns when disabling your Gallery shortcode override?
Do I have to disable there something more? in php files?best regards
November 7, 2014 at 6:49 pm #126563ok guess sth with the Caching, now there are more but with large gaps, will disable Caching (w3)…
which Caching Tools are the best for dante?November 7, 2014 at 7:35 pm #126576Hi,
W3 Total cache is fine for any theme.
But in my opinion when we are making modifications in the site it should be deactivated and only activate when everything is done to avoid cache issues.
-Rui
-
Posted in: Dante
You must be logged in and have valid license to reply to this topic.