Image elements do not have explicit width and height - logo

Hey guys,

how to i fix this issue?

have the same issue on casinoutanspelpaus.io and casinoorbit.com

Hi Niklas,

Thank you for writing in, please note that there is a Logo width option under Theme Options > Header > Image Width. But I know this is not what you’re looking for, what you’re looking for 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,

thank you boss

Hi Niklas,

You’re welcome and it’s our pleasure to help you! If you have any other concerns or clarifications regarding our theme features, feel free to open up a new thread.

Thank you.

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