New Landing How can we help? Atelier Article swipe not working

Viewing 5 posts - 16 through 20 (of 20 total)
  • Posted in: Atelier
  • #200869
    NiO
    Member
    Post count: 233

    Hi Ed,

    A quick follow up: to actually use it … do I need to include hammer.js? When I try to re-use your code, I get a message that hammer is not defined … is it no longer included?

    Thanks,
    Johan

    #201116
    NiO
    Member
    Post count: 233

    Hi Ed,

    Got this sorted. The hammer error and changes in classes, made re-use of the old swipe code a bit troublesome. In the end I decided to use hammer v2 and wrote some fresh js code myself for the single post page swipe. Works now.

    Btw: the theme still loads css in the header for the class post-pagination-wrap. That class no longer sees to exist though …

    Cheers,
    Johan

    #201182
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Hi Johan,

    Ahh yes – we did remove that to reduce script size. You’d need to enqueue the JS script to use it.

    – Ed

    #201578
    NiO
    Member
    Post count: 233

    Even managed the enqueue 🙂 Happy it works now.

    #201722
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    No problem

Viewing 5 posts - 16 through 20 (of 20 total)

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

License required for the following item
Login and Registration Log in · Register