Home Forums WoodMart support forum Banner and product links being mixed

Banner and product links being mixed

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #222014

    Noire
    Participant

    Hey guys,

    We have been having this problem for a while. When we are browsing our site on mobile and click a banner or mobile link before the site loads completely, the wrong link is loaded.

    For instance, if I click new arrivals, the best seller page loads.

    I thought this was common but I checked other websites and they do not have this problem.

    Can we fix this please?

    #222063

    Hello,

    This is not an issue by any means.

    This is because when the browser loads the page, it reads the HTML document from the top to the bottom, from the left to the right. When reading the HTML document, the browser would have read the whole DOM before reaching your CSS and JS scripts and executing them.

    When the site loads the HTML loads first not the CSS or JS that’s why it finds the different links on clicking elements.

    You should always try to click on the link when the site is completely loaded.

    So this only happens because of the Browser Rendering. To avoid it you have to use Cache on your site.

    You can also check it with the default WordPress theme as well.

    Best Regards.

Viewing 2 posts - 1 through 2 (of 2 total)