• Resolved Chad

    (@chadi)


    Not sure if this is caused by AO’s latest update but suddenly anchor texts are not working on this page: https://www.logicweb.com/bulk-ip-address-leasing/

    Simple code:

    <li><a style="text-decoration: none;" href="#advantages" data-uk-smooth-scroll="{offset: 90}">[idz_ui_div]Advantages[idz_ui_end_div]</a></li>

    <a name="advantages"></a>

    The page I need help with: [log in to see the link]

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

    (@optimizingmatters)

    Hi @chadi;
    1. AO’s latest update is already a couple of months old, when (under what circumstances) did you see this problem appear?)?
    2. anchor texts are pure HTML-based, no CSS or JS needed + I don’t see JS errors on the browser console, so that seems to indicate this is not due to AO
    3. the “smooth scroll” reference on the other hand could be indicate something JS-related is (not) happening

    So … can you disable only CSS or only JS or only HTML optimization to see if disabling one of those ‘fixes’ the problem?

    frank

    Thread Starter Chad

    (@chadi)

    This is strange. I traced the issue specifically to the smooth scroll, but not sure why suddenly it stopped working.

    data-uk-smooth-scroll="{offset: 90}

    If I remove that, the anchor links work but too jump. Better with smooth scroll.

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    OK, that would imply there’s a problem with the JS doing the smooth-scrolling. try disabling JS optimization to confirm that is impacting and if so try identifying and excluding the relevant JS from JS autoptimization?

    Thread Starter Chad

    (@chadi)

    Yes I tried that too. I disabled JS caching entirely, saved, cleared cache and tried again. Still scrolling upward instead of downward. I even disabled everything in AO and tried again, same thing. I’m not blaming AO, just baffled here.

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    well, based on that this is not due to AO then, is it?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Issue with Anchor Texts’ is closed to new replies.