Title: Header gets bigger while loading
Last modified: February 11, 2021

---

# Header gets bigger while loading

 *  Resolved [gillinghamjamie](https://wordpress.org/support/users/gillinghamjamie/)
 * (@gillinghamjamie)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/header-gets-bigger-while-loading/)
 * Hi there,
 * After installing Smush, my header momentarily gets larger while loading. Once
   the page loads it goes back to normal, but for a split second while loading it’s
   about twice the size. I’ve tried changing the image type, and also removing javascript
   that was running in my header, but no luck.
 * Any ideas?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fheader-gets-bigger-while-loading%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Support [Nithin – WPMU DEV Support](https://wordpress.org/support/users/wpmudevsupport11/)
 * (@wpmudevsupport11)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/header-gets-bigger-while-loading/#post-14035837)
 * Hi [@gillinghamjamie](https://wordpress.org/support/users/gillinghamjamie/),
 * I suppose you meant the whole header, could you please try adding the following
   class as an exclusion under **Smush > Dashboard > Lazyload > Include/Exclude 
   > Classes & IDs**:
    `.custom-logo`
 * Screenshot:
 * > [Screenshot at 17:57:37.png](https://imgur.com/EoKky2A)
 * And then check whether you still have a similar issue or not?
 * Please do let us know how that goes. Have a nice day ahead.
 * Best Regards,
    Nithin
 *  [mindfulwonderer](https://wordpress.org/support/users/mindfulwonderer/)
 * (@mindfulwonderer)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/header-gets-bigger-while-loading/#post-14056531)
 * Hi Nithin, I also had this issue and the above fix worked on desktop. Thanks!
 * I also added “.custom-mobile-logo” to take care of the mobile one – however, 
   while the blow-up is reduced, it is still noticeable compared to disabling Smush
   completely.
 * Any ideas? (website: [http://www.mindfulwonderer.com](http://www.mindfulwonderer.com))
 *  [tj4834](https://wordpress.org/support/users/tj4834/)
 * (@tj4834)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/header-gets-bigger-while-loading/#post-14066011)
 * Hey Nithin, I tried this but to no avail. Any ideas?
 *  Plugin Support [Imran – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support9/)
 * (@wpmudev-support9)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/header-gets-bigger-while-loading/#post-14073620)
 * Hi [@mindfulwonderer](https://wordpress.org/support/users/mindfulwonderer/),
 * Perhaps try checking if any other plugin or theme you have comes with a lazyload
   feature which could be affecting Smush Lazyload as well. Please make sure to 
   create a new thread so that we can assist you on this as well.
 * [@tj4834](https://wordpress.org/support/users/tj4834/) the class provided only
   applies to the site the thread was opened for. Your site may have a different
   class on the logo that will need to be excluded. Please open a new thread so 
   that we can assist you on this further.
 * Best,
    Jonathan S

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Header gets bigger while loading’ is closed to new replies.

 * ![](https://ps.w.org/wp-smushit/assets/icon-256x256.gif?rev=3447113)
 * [Smush – Image Optimization, Compression, Lazy Load, WebP & CDN](https://wordpress.org/plugins/wp-smushit/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-smushit/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-smushit/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-smushit/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-smushit/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-smushit/reviews/)

## Tags

 * [header](https://wordpress.org/support/topic-tag/header/)

 * 4 replies
 * 5 participants
 * Last reply from: [Imran – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support9/)
 * Last activity: [5 years, 3 months ago](https://wordpress.org/support/topic/header-gets-bigger-while-loading/#post-14073620)
 * Status: resolved