• Resolved peopleinside

    (@peopleinside)


    Hi, with custom logo loader,
    the image is showed for a short time on the top left than as loader in the center.

    There is a way to avoid the flashing image loaded on top left?
    I expect the loader loads on center of the screen and not flashing before on top left than on center.

    Thanks

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

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter peopleinside

    (@peopleinside)

    As is a very bad effect, I will deactivate custom logo loader for now, waiting an answer from you.

    If you need I reactivate for testing please ask on the live chat on the website or here: I will be fast in reading and in replies.

    GIF that show the issue:
    https://giphy.com/gifs/riLqmELf0x6yyLP7D9/fullscreen

    Plugin Author loftocean

    (@loftocean)

    Hi @peopleinside ,

    Thank you for contacting us.

    I checked your website and found that there are two <body> opening tags, which caused the loader related code to not be inserted in the correct position.

    Please see these two screenshot: https://d.pr/i/KxbhC3 and https://d.pr/i/O4tFh2.

    If the problem persists after fixing the issue above, please reactivate the custom logo, then I will further check it.

    Thank you very much.

    Best regards,
    The Loft.Ocean Team

    Thread Starter peopleinside

    (@peopleinside)

    Hi, @loftocean thanks for the reply!

    Was maybe night here when you made a reply and after I worked for understand where the issue can be.

    Recently I moved to a different control panel (Plesk) and now my server is managed by Apache with nginx as proxy for support HTTP2

    I was thinking the issue may due this but tested, tried to deactivate HTTP 2 and still have the same issue.

    The double body can be caused by some plugins?
    Anyway maybe I will keep a different loader as seems difficult understand how I can fix this issue with custom logo loader.

    I have no idea on what to do for fix this issue and why, fortunately, the standard loader works, just the custom logo is creating issues.

    Plugin Author loftocean

    (@loftocean)

    Hi @peopleinside ,

    Thank you for your reply.

    For the double body tag, we haven’t received any similar report yet. Normally the html structure is controlled by the theme used on your website. You can check the theme’s template files, normally the header.php file.

    Please reactivate the custom logo, and then I can further check it and find some clues to solve the problem.

    Thank you very much.

    Best regards,
    The Loft.Ocean Team

    Thread Starter peopleinside

    (@peopleinside)

    Thanks for your support.
    I found what is the cause thanks to you but I don’t know how to solve.

    In the header I added:

    <body oncopy="return false">

    this is causing the double body issue.

    The existent theme line is:

    <body <?php body_class(); ?> <?php echo apply_filters('tc_body_attributes' , '') ?>>

    How can I add the <body oncopy="return false"> for avoid double body?

    Thanks

    Thread Starter peopleinside

    (@peopleinside)

    Resolved with

    <body <?php body_class(); ?> <?php echo apply_filters('tc_body_attributes' ,'oncopy="return false"', '') ?>>

    Thank you very much ^_^

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Custom logo is loaded before on the left than in center of the page’ is closed to new replies.