Home › Forums › WoodMart support forum › Skip to main content bug on header

Skip to main content bug on header

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #729021

    chenerbei
    Participant

    Hi team,

    We updated the theme new version today, there is a bug on the front every page header showing skip to main content, it appears for seconds and disappeared. Before not exist this message. Could you let is disabled and not appear on the front pages?

    I tested it both on live site and staging site, they are all showed up after theme updated.

    Thanks for checking.

    Attachments:
    You must be logged in to view attached files.
    #729023

    chenerbei
    Participant

    Here is live site backend

    #729025

    Serg Sokhatskyi
    Keymaster
    Xtemos team

    Hi there,

    The “Skip to main content” link is an accessibility element. Its brief appearance is usually caused by cached old files after the theme update.

    Please clear all website caches, including any caching/optimization plugin, server/CDN cache, and your browser cache. Then check the website again in an incognito/private browser window.

    Kind regards,
    XTemos Studio

    #729034

    chenerbei
    Participant

    Hi,

    Thanks for replying. I already cleared the cache in the site backend through plugins of Redis Object Cache, W3 Total Cache, and at the same time, I also asked server provider to cleared the cache on their end.

    The The “Skip to main content” link is still appear for 2 secons on the header in the beginning of page loading. Could you please login and check on your end.

    Thank you!

    #729053

    Serg Sokhatskyi
    Keymaster
    Xtemos team

    Hi there,

    Thanks for the update. We have tested the website from our side, but we could not reproduce the issue. The “Skip to main content” link does not appear during the page loading in our test:
    https://gyazo.com/20760abb91854acea7ece8471ef87a7a

    Please check again in an incognito/private browser window and ensure that any browser extensions are disabled, as they may affect the page loading behavior.

    Kind regards,
    XTemos Studio

    #729253

    chenerbei
    Participant

    Hi,

    I have mornitor this issue for weeks, I tried all the methods that you advised to test, but it still appear on the top-left header during page loading, do you know any manually css code to disable the message show up while page loading. Appreciate for your checking on this.

    Regards

    Attachments:
    You must be logged in to view attached files.
    #729299

    Serg Sokhatskyi
    Keymaster
    Xtemos team

    Hi there,

    You can disable the “Skip to main content” accessibility link by adding the following code to the functions.php file of your child theme:

    add_action( 'init', function () {
        remove_action( 'wp_body_open', 'woodmart_get_skip_main_content_button' );
    } );

    Kind regards,
    XTemos Studio

    #729329

    chenerbei
    Participant

    Hi,

    Would you please help me add it to our live site, since my limited ability not allowed me to do this work. Appreciate!

    Thank you!

    #729347

    Serg Sokhatskyi
    Keymaster
    Xtemos team

    You can add it in Appearance -> Theme File Editor as shown on the screenshot https://gyazo.com/11d977ff547e1c14a7fa3c136c20afd3

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