How To Add "width: Auto; Height: Auto " CSS To Logo Header Image - Question | JoomShaper
SP Page Builder 6 is Here! Learn More →

How To Add "width: Auto; Height: Auto " CSS To Logo Header Image

Paul Srch

Paul Srch

Template 3 months ago

I'm using the Maxora template, but it's something I need to do for all your templates.

I'm getting SEO notices about the logo image missing width and height attributes. I can add those in the template settings in custom CSS, but I'm not sure what to add. I did try using

img .logo-image {width: auto;}

but it doesn't look like it added it.

0
2 Answers
Mehtaz Afsana Borsha
Mehtaz Afsana Borsha
Accepted Answer
Support Agent 3 months ago #198490

Hi

Thanks for contacting us and sorry for your issue. Do you want to set width height in this portion?

https://prnt.sc/y3hpR6GGWcNg

Then you have to use this CSS in your custom.css file

#sp-header .logo {
    width: auto !important;
    height: auto !important;
}

-Regards.

0
Mehtaz Afsana Borsha
Mehtaz Afsana Borsha
Accepted Answer
Support Agent 2 months ago #201774

Hi

Is this solved now? If yes, you can then close this post by accepting the answer.

0