Okay
  Public Ticket #2756475
Scrolling to the top
Closed

Comments

  • morfi started the conversation

    Hello!

    Sorry if this was asked before, but I would like the Amelia booking to scroll to the top of the booking section every time the user clicks the submit ("Folytatás" in my language) or the Cancel ("Vissza" in my language).

    I've seen a similar question about this, which was about scrolling on page load, but I would like the scrolling to happen every time the user clicks a button on booking.

    Thanks in advance!

    Andras

  •  2,572
    Aleksandar replied

    Hello Andras

    Thank you for your purchase.

    What you saw on that ticket is actually a JS hook that scrolls an element into view after something is clicked on, so it's not working on page load, but for example, if you added [ameliacatalog] and you have a lot of services in a category, you would need to scroll down to get to a service. When you click on a service, by default, the page stays in the same place, but with that script, it scrolls the "am-service-booking" class into view.

    So, you should be able to use the same code on your website. If it doesn't work, please provide me a temporary WP-admin (administrator) user for your site where this happens, so we could log in and take a look ‘from the inside’ as that’s the most efficient way to see and resolve the issue. 

    We do not interfere with any data or anything else except for the plugin (in case that’s a production version of the site), and of course, we do not provide login data to third parties. 

    You can write credentials here just check PRIVATE Reply so nobody can see them except us.

    Kind Regards, 

    Aleksandar Vuković
    [email protected]

    Rate my support

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia demo sites | Docs | Discord Community

    You can try wpDataTables add-ons before purchasing on these sandbox sites:

    Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables