XF 2.1 Why is the website shaking?

xffutureuser

Well-known member
195680

Hello,
I have changed the logo to a testing logo with exactly the same dimensions as the original logo and after that, the website keeps shaking when loading. Like this:

View attachment shaking2.mp4















And when I change it back to the original logo, the shaking stops. Anyone knows why is this shaking happening? Please let me know. Thanks.

Here are the settings:

195674

Here is the code:

195682
 
Last edited:
Sorry, I just glanced at the code and assumed it was a template you had edited - that is just the page source code, right?

What size (file size not pixel dimensions) is the logo?

Do you get the same issue when not logged in?
 
This isn't inherently unexpected as the image resizes when it loads (we don't hard code a specific logo size). Normally, if your logo is coming from cache, you wouldn't see this, though it does depend a bit on the browser.

I believe if you wanted to, you could specify a fixed logo height in extra.less via something like:
Code:
.p-header-logo.p-header-logo--image img { height: 36px; }
(Change the height value to match the logo height.)
 
Sorry, I just glanced at the code and assumed it was a template you had edited - that is just the page source code, right?

What size (file size not pixel dimensions) is the logo?

Do you get the same issue when not logged in?
Yes, just the page source code, so you can see I didn't change anything in the code. Image has 7,13 kB.
 
Back
Top Bottom