Problem with OnePager

Hello
I built a page with a onepager. Everything works very well. The menu items go to the right place.
Two pages (imprint and privacy policy) are not included in the OnePager. There are additional pages, which also have a different menu (Other OnePagerI and II). If you click on “Imprint” and want for example on “About us” the OnePager does not go to the exact right place.

http://uschis.riwaro.de

Best regards Thomas

Hey Thomas,

I’m sorry but I don’t see those items on your site. Would you mind providing us screenshots and/or specific links?

Thanks.

Hello,
I have now translated the menu items.

I built a page with a onepager. Everything works very well. The menu items go to the right place.
Two pages (Impressum and Datenschutzerklärung) are not included in the OnePager. There are additional pages, which also have a different menu (Other OnePagerI and II). If you click on “Impressum” and want for example on “Über uns” the OnePager does not go to the exact right place.

http://uschis.riwaro.de

Best regards Thomas

Hi Thomas,

I went to Impressum page, then click the Über uns (About us) and it scrolls to the correct position. May I know which browser you’re testing it with?

Please check this video recording from my end https://www.dropbox.com/s/4ws6suodcx9fyc3/bandicam%202019-09-09%2003-31-21-962.mp4?dl=0 (if the URL displays a login window, please close it to view the video).

Thanks!

Hello,
I just wanted to post that I have solved the problem. I found the following code in another post.

jQuery (function ($) {
$ (‘a [href * = “#”]: not ([href = “#”])’). click (function () {
var target = $ (this.hash);
$ (‘Html, body’). Stop (). Animate ({
scrollTop: target.offset (). top - 160
}, ‘linear’);
});
if (location.hash) {
var id = $ (location.hash);
}
$ (window) .load (function () {
if (location.hash) {
$ (‘html, body’). animate ({scrollTop: id.offset (). top -160}, ‘linear’)
};
});
}) (JQuery);

Best regards Thomas

Hello Thomas,

We are just glad that you have figured it out a way to correct the said issue.
Thanks for letting us know!

Best Regards.

Thank you for the great support …

Glad we could help.

Cheers!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.