Okay
  Public Ticket #2353475
Header logo loads LARGE on start-up
Closed

Comments

  • Rod started the conversation

    Hi!

    Whenever my website loads the homepage (and sometimes, other pages) the custom logo image I'm using will fill the entire page then go back to it's normal size. I tried to grab a screenshot, but it happens so quick that I'm unable to get it. But, I'm able to recreate the issue by loading the website from any private browser. I used to have a retina & mobile logo added from the Header Navigation menu under the Nectar settings. But, I removed them over a year ago. It's almost as if the site won't delete the cache of the old retina logo I uploaded. Any help in resolving this issue is appreciated! Thanks!

  •  3,021
    Andrew replied

    Hi Rod,

    1. Please clear your cache using this guide: https://themenectar.ticksy.com/article/6226/ .
    2. If you are using WP Rocket use this guide :  https://docs.wp-rocket.me/article/108-render-blocking-javascript-and-css-pagespeed#critical-path-css .
    3. For Woocommerce caching issues see: https://docs.woocommerce.com/document/configuring-caching-plugins/ . 

    Hope this helps.


  • Rod replied

    Hey, Andrew, thank you for the suggestions. I was able to clear the cache in WP Rocket (also with Cloud Flare within WP Rocket) and I already had the Deferred javascript settings checked. Unfortunately, the problem persists. The logo flashes really big when loading the page. I managed to snag a screenshot of it this time around. Attached are images of the homepage with the large logo and then what it looks like seconds later after it loads.

  •  3,021
    Andrew replied

    Hi Rod,

    Try the following custom css in Salient > General settings > CSS/SCript related:

    #top #logo img {
        max-width: 210px;
        height: auto;
    }
    

    Kind regards.

  • Rod replied

    That worked! The logo loads normally. Thank you so much, Andrew!

  •  3,021
    Andrew replied

    Hi Rod,

    Glad that did the trick. The logo in your website is very large though. 

    Thanks.