• Resolved masterredstorm

    (@masterredstorm)


    Hello maybe you can help me,

    I’ve installed ps2id and its working really well, but i want to change the scroll offset per page (preferably with css if possible).
    Googled already and didnt found a answer (maybe it is somewhere in your “Code examples & short tutorials” but i dont understand js well).

    So if you would help me a bit that would be wonderful^^

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author malihu

    (@malihu)

    Hello,

    You need javascript to change the general offset value per page. It might be possible with CSS but I can’t tell before I see your site/pages.

    Having different offsets on regular in-content links is done as described here but for menu items (i.e. general offset) you’ll probably need javascript.
    The js code is simple and you can add it in your theme’s footer.php or in some custom javascript field (if your theme provides one).

    I’d need to see your site in order to provide an exact solution though, so let me know πŸ™‚

    Thread Starter masterredstorm

    (@masterredstorm)

    I use Generate press pro and Elementor.

    I opened the site:
    https://www.naturheilpraxis-gotzel.com/therapien/

    I can add javascript and php before the header with gp-hooks.

    Thank you for your time.

    Thread Starter masterredstorm

    (@masterredstorm)

    I just found out that i have to change the menu links somehow to add the offset.

    Thread Starter masterredstorm

    (@masterredstorm)

    I found a roundabout -you just put the anchor way below the target.

    Thank you for your time^^
    Have a nice day.

    Plugin Author malihu

    (@malihu)

    Cool, you found an easy way to solved it πŸ˜‰

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Offset per page’ is closed to new replies.