Archived topic
Site Logo Doesn't Fill Container
16 replies · Started by John Retzer on April 6, 2019
I recently noticed that my site logo at the top of the page doesn't fill the container when I am logged out (and presumably when other people see it), but it DOES fill the top of the container (above the nav bar) when I am logged in, and when I see it in the customizing site identity page. It is also small when I view it on mobile.
I've got the width of the container at 950, and the actual image is 950. Also, the logo width slider is set to 950.
There must be some setting I'm missing.
Thanks
Hi there,
Try removing the header padding:
https://docs.generatepress.com/article/header-padding/
Let me know :)
Header padding is already
0 0 10 (Bottom) 0
That's not what the code is suggesting.
Can you try clearing WP Rocket cache?
Cache cleared.
Are you using a child theme?
If so can you check this issue?
https://docs.generatepress.com/article/child-theme-issues/#import
I don't know what a child theme is ... so I'm going to say no on that question ...
Hmm try #1 here to eliminate any plugin conflicts:
https://docs.generatepress.com/article/debugging-tips/
I can see your customizer setting, but it's being overwritten by the default setting:
https://www.screencast.com/t/pvEI1bgj7p
This usually happens when you are using a child theme with the issue I mentioned above, or maybe causing from another plugin.
So ... the problem was AutoOptimize, a plugin which you guys recommended that I use because of a problem where Google tells me that my text is too small to read:
https://generatepress.com/forums/topic/google-says-my-mobile-text-size-is-too-small/
The problem disappeared when I deactivated AutoOptimize. But now that leaves me with the text size too small problem, which affects my Google Rankings.
The problem is the optimize CSS Code setting. There's a field for excluding certain CSS code from Autooptimize, but I don't know what I would put in there that might fix it.
Can you make sure your Autoptimize settings match ours here?: https://generatepress.com/fastest-wordpress-theme/
It looks like it was mixing up the CSS for you, which shouldn't happen.
Let us know :)
The recommended settings are as suggested.
What if you disable WP Rocket? Does the issue persist?
The issue seems to go away when I disable WP Rocket.
So it might be a setting inside WP Rocket. Try disabling any WP Rocket settings which might combine CSS.