- This topic has 7 replies, 3 voices, and was last updated 2 years, 11 months ago by
Leo.
-
AuthorPosts
-
April 1, 2023 at 1:22 am #2591677
Ivaylo
Hi, I have updated to the latest GP Premium, but on mobile my logo image is now shown on the left and too small. Is this the default new menu/search/logo template for GP?
April 1, 2023 at 6:32 am #2591941David
StaffCustomer SupportHi there,
can you try clearing any caches on the site ?
April 1, 2023 at 7:49 am #2592031Ivaylo
Hi David,
I have cleared the cache.April 1, 2023 at 1:26 pm #2592375David
StaffCustomer SupportOh, I thought we had provided some CSS to resize it before. Maybe I was mistaken.
Try adding this CSS:
#mobile-header .site-logo.mobile-header-logo img { height: 60px; }April 1, 2023 at 10:33 pm #2592646Ivaylo
My uploaded logo is 200×87 px will this be a problem? I have added the additional CSS and cleared the cache again, it is still very small.
Will the header with logo/search/menu cause CLS? Or it will have a reserved space upfront to prevent it from shifting?
Getting really bad CLS results since the update of GP Premium!
April 2, 2023 at 7:23 am #2593037David
StaffCustomer SupportThe mobile menu logo gets it height from the mobile menus item heigh ( as set in Customizer > Layout > Primary Navigation ), which is the most sensible place to adjust its height as it also defines the height of the mobile header. Which should lead to no CLS>
Likewise we don’t write updates that incur CLS, if you can point out a specific issue then i can take a look at the cause.
April 2, 2023 at 10:53 am #2593453Ivaylo
Thanks!
1. I have found Customizer-Layout-Primary Navigation and changed the height of mobile menu to 60 px. This made the logo appear bigger.
2. I have removed the code you sent me in the previous message:#mobile-header .site-logo.mobile-header-logo img { height: 60px; }as I suppose it does the same thing, am I right?
3. So no CLS could be caused by Generatepress mobile menu/header / search, logo, right?April 2, 2023 at 11:09 am #2593472Leo
StaffCustomer Supportas I suppose it does the same thing, am I right?
Yup – the CSS code is only needed if you want to set the logo height separated from the menu item height 🙂
So no CLS could be caused by Generatepress mobile menu/header / search, logo, right?
No there shouldn’t be – we aren’t aware of any CLS issues in GP.
-
AuthorPosts
- You must be logged in to reply to this topic.