New Landing How can we help? Themeforest Theme Support Dante lightbox / swipe doesn´t work

Viewing 14 posts - 1 through 14 (of 14 total)
  • Posted in: Dante
  • #125264
    walter
    Member
    Post count: 105

    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 regards

    #125506
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi

    Thanks for letting us know, I’ll get Ed to check that

    – Kyle

    #125569
    walter
    Member
    Post count: 105

    hi 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 regards

    #125780
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Add 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

    #125786
    walter
    Member
    Post count: 105

    hi 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 323

    #125790
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    You need to use a child theme

    – Kyle

    #125917
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Just 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

    #125962
    walter
    Member
    Post count: 105

    hi 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 regards

    #125964
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Which gallery styles? Can you provide a link to the issue?

    – Ed

    #125967
    walter
    Member
    Post count: 105

    the 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

    #125968
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Ahh yes – you need to make sure you have that active for the theme gallery styling.

    – Ed

    #126561
    walter
    Member
    Post count: 105

    hi 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

    #126563
    walter
    Member
    Post count: 105

    ok 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?

    #126576
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    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

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

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register