Liquid, JavaScript, themes, sales channels
To continue receiving payouts, you need to secure your account by turning on two-step authentication. If two-step authentication is not turned on your payouts will be paused. Learn more
I use the Out Of The Sandbox Turbo theme and Page Speed Insights keeps telling me Logo image element does not have explicit width and height. Can someone tell me how to fix this. What to put and where to put it exactly so that will take care of both desktop and mobile? Help is greatly appreciated. As of now when I use inspect my logo on the header shows
Desktop
Rendered size: 205 × 47 px
Rendered aspect ratio: 205∶47
Intrinsic size: 400 × 91 px
Intrinsic aspect ratio: 400∶91
Mobile
Rendered size: 119 × 27 px
Rendered aspect ratio: 119∶27
hii, @Jeffro1234
Kindly share your store URL and a screenshot of your problem so,
I can solve your problem and give you a proper solution.
Thank You.
Hii @Jeffro1234
100% Solution on explicit height & width.
you can just find you image code in the theme. for logo you can find it in header.liquid.
after that just paas width="100%" and height="100%" in the img tag.
Example - <img src="" width="100%" height="100%" alt="">
if design breaks you can fix it by writing css code. otherwise you can pass actual height and width using liquid objects.
We are the experts especially for Speed optimization & Performance. and want to bring revolution so that shopify owners can escape from the speed frauds. and optimize their store speed with accuracy , great results and very reasonable prices.
We Are The Doctor, Make Shopify Sites Booster.
For more information Visit - https://booststar.rlchats.com/
Regards Team BoostStar
Would you love to unleash the unbridled power of the Google Shopping Channel into your sho...
By Gabe Jan 6, 2023How can you turn a hobby into a career? That’s what Emmanuel did while working as a wa...
By Skye Dec 30, 2022Shipping can be one of the most vital parts to set up and manage your business. Understand...
By Ollie Dec 16, 2022