- This topic has 59 replies, 4 voices, and was last updated 6 years, 8 months ago by
David.
-
AuthorPosts
-
May 14, 2019 at 6:41 am #898903
Oisin
The desktop site is now picking up the dark menu, perfect.
So, it’s just the transparency still making it through to mobile – https://www.loadlabz.com/why-does-page-speed-matter-in-2019/
And the large logo on some mobile pages – https://www.loadlabz.com/blog/
May 14, 2019 at 6:41 am #898904David
StaffCustomer SupportAny chance you can disable SG Optimizer as the CSS thats effecting the Mobile Headers colors are in its ‘critical CSS’. Personally i do not use it, i see too many CSS conflicts because of it.
May 14, 2019 at 6:43 am #898907Oisin
Ok, just disabled it there. What tools do you use to increase your PageSpeed score?
May 14, 2019 at 6:53 am #899053David
StaffCustomer SupportOk so set your Customizer > Colors > Primary Navigation to have the black background.
In the Merged Header Element you have you can edit the Nav colors and set them to transparent on the Site Header tab.We just use Autoptimize, it ( effectively ) does the same thing as SG Optimizer just without a lot of the hassles.
May 14, 2019 at 7:27 am #899098Oisin
Thanks David,
The nav is looking great on mobile now.
If I could ask you to look at the logo issue everything should be in order. You can see it on this page on mobile – https://www.loadlabz.com/blog/
Your code isn’t being picked up for some reason. It would be great if there was a way to apply this code across the website.
.site-logo.mobile-header-logo img {
padding: 18px 0 !important;
}May 14, 2019 at 7:32 am #899108Leo
StaffCustomer SupportThat CSS should work on every page.
How are you adding it currently?
May 14, 2019 at 7:36 am #899116Oisin
In a previous message, I followed instructions from a link David shared. The instructions told me to apply that code using the Simple CSS box found at the bottom of my WordPress page editor.
May 14, 2019 at 7:39 am #899120Leo
StaffCustomer SupportWordPress ignores all metabox values on index pages (blog, archive etc).
To apply that code on the blog page, try this in the SimpleCSS global editor:
body.blog .site-logo.mobile-header-logo img, body.archive .site-logo.mobile-header-logo img { padding: 18px 0 !important; }May 14, 2019 at 7:49 am #899127Oisin
Hi Leo,
I applied that code but it doesn’t seem to have any effect.
May 14, 2019 at 7:56 am #899136Leo
StaffCustomer SupportI don’t see the code being added still.
Where are you adding it this time?
Looks like there is something in Additional CSS field in the customizer.
Can you add it in there instead?
Let me know 🙂
May 14, 2019 at 8:08 am #899149Oisin
Ok, just added it to the additional CSS box and it’s now looking great. Thanks very much for your help Leo and David. I’m going to write up another glowing review for this theme.
May 14, 2019 at 8:17 am #899163David
StaffCustomer SupportGlad we could be of help
May 22, 2019 at 7:39 am #907944Oisin
Hi Guys,
Just a quick query regarding a GTmetrix error. I recently set up a cookie-free domain but since I did this I’m getting an error about a certain image being pulled from two URLs.
https://static.loadlabz.com/uploads/2019/04/Load-Labz-White.png
https://www.loadlabz.com/wp-content/uploads/2019/04/Load-Labz-White.pngShould I just do a redirect or is there some sort SQL query I need execute to resolve the issue?
Thanks,
Johnny.
May 22, 2019 at 8:01 am #907979David
StaffCustomer SupportThe static.loadlabz image is the image you have added to Site Identity > Logo.
Make a copy of your original logo and change the name ( WP doesn’t like replacing same name images… ) – then upload the renamed logo image and replace the one used in Site Identity.May 22, 2019 at 8:16 am #907993Oisin
Cheers Tom,
I’ve always been puzzled by WP’s confusion with same name uploads. Operating systems seem to figure it out just fine.
I’ll try this fix shortly. One other question. I’m so close close to scoring that stupid 100 in Google PageSPeed. I relaise it’s a bit of a waste of energy but I need it for my portfolio.
It’s the “Ensure text remains visible during webfont load” diagnostics error featured under the opportunities heading and results- https://developers.google.com/speed/pagespeed/insights/?url=https%3A%2F%2Fwww.loadlabz.com%2F&tab=mobile
It’s telling me “Leverage the font-display CSS feature to ensure text is user-visible while webfonts are loading.” Is there a way to resolve this?
-
AuthorPosts
- You must be logged in to reply to this topic.