Width and Height for Website Logo

Hi, I ran a Pagespeed Insights test, and looks like there is an issue with the dimensions of my website logo. I am not sure how to specify the height and width for the logo since there is no setting for it or maybe I am wrong. I used the image width logo in the customizer.
I am attaching the screenshot for reference. Thank you.logo dimension

Hi Rashmi,

Thanks for reaching out!

I suspect this could be a bug and have reported it to the developers for investigation. Please check the changelog from time to time to check if the issue is already solved.

Thank you.

Hi Marc,
I am not sure where in the change log can I keep track of this? Do you mean I keep checking the release notes and changelog or is there any reference ticket # you can give me to keep a track of this?
I am afraid this might not be on the priority for you guys since all the updates seem to be focused on Cornerstone.
Ideally, I don’t want to see this notification every time I check my Site speed. The site logo is one of the first things to load and if that takes longer than it should then it is a problem worth looking into especially since speed is one of the top metrics on Google web core vitals.
When can I expect this issue to be resolved?

Hi Rashmi,

You’re right that we can’t prioritize this as we only get one request for this. We can actually hardcode the width and height attributes to your logo but this will require customization.

To do this, you need to have a child theme, then copy the file _brand.php from the parent theme, you can see it on this directory \pro\framework\legacy\cranium\headers\views\global, copy that directory to your child theme and add the _brand.php. Open/Edit this file (the one on the child theme) and on line 17 you can see:

$logo_output = '<img src="' . $logo_src . '" alt="' . $logo_text . '">';

You can hardcode the width and height attributes of your logo on that line.

Please note that since this involves customization, we can not provide support further from here. You might be interested in our service called ONE.

Cheers,

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.