Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi there,

    I really like the theme and I know that I cannot ask for much as a “free” user. But I try ??

    I have the same issue as described by mahagonianqw (see above and a year back here: https://www.ads-software.com/support/topic/page-content-7/).

    Let me be a bit more specific about the issue:

    Problem: whenever a page visitor scrolls on a page or browses to an id-hash archor (through <a href="#myTag">My Link Text</a>), the theme replaces the string #myTag in the URL by the string #page-content. And on scrolling, it adds #page-content to URL.

    Classification: I find this “irritating”. Worse, you cannot see any more the original link in the URL, which appears quite counter-intuitive, especially for one-page layouts. So I would say it is a bug or a “very, very special feature”.

    Expected behavior: URLs stay in the browser URL line unchanged, with or without hash anchors. The theme should not modify the URLs.

    Others have reported on this but the issue still seems to exist; I am using version 1.3.14.

    Am I just too stupid to use the theme correctly?
    How can I configure the theme to reach my desired behavior?

    Are you considering it a bug (or a missing feature)?
    Are you planning to fix it?
    Any ideas about when it get’s fixed?

    My current work-around is commenting out the responsible lines in the php code (which is lines 12 in both header.php and header-homepage.php).
    Of course, I would appreciate a fix much more than a hack.

    Best regards,

    Kai

    • This reply was modified 3 years, 8 months ago by blubstar.
    • This reply was modified 3 years, 8 months ago by blubstar.
    • This reply was modified 3 years, 8 months ago by blubstar.

    @urbanlaci95 Did you see my reply? Keen to know if it helped you.

    One more thing: If you use custom anchor tags, the theme also changes the URL line.

    According to HTML standards, this is done by JS command history.replaceState.

    In this theme, the responsible code is in line 59 of file wp-content/themes/one-page-express/assets/js/smoothscroll.js. Just comment out this line.

    P.S.: In a way, I am still hoping to get some reaction from the theme owners.

    • This reply was modified 3 years, 6 months ago by blubstar.
    • This reply was modified 3 years, 6 months ago by blubstar.
    • This reply was modified 3 years, 6 months ago by blubstar.
    • This reply was modified 3 years, 6 months ago by blubstar.
    Thread Starter mahagonianqw

    (@urbanlaci95)

    @blubstar Tanks a lot for the help, the solution worked. I would be happy to have an official fix on this matter.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘/#page-content in the url’ is closed to new replies.