Shopify themes, liquid, logos, and UX
As you can see below the image is not displaying completed.
This is the custom code used to insert the image.
.header {
background-image: url(https://cdn.shopify.com/s/files/1/0814/0282/2984/files/header1.png?v=1710226490);
}
@media (min-width: 990px) {
.header {
padding-top: 0px;
padding-bottom: 0px;
max-width: 100%;
padding-left: 3px;
padding-right: 3px;
}
}
Solved! Go to the solution
This is an accepted solution.
Hi @Kai47
Try this code.
.header {
background-image: url(https://cdn.shopify.com/s/files/1/0814/0282/2984/files/header1.png?v=1710226490);
background-size: cover; /* or background-size: contain; */
}
@media (min-width: 990px) {
.header {
padding-top: 0px;
padding-bottom: 0px;
max-width: 100%;
padding-left: 3px;
padding-right: 3px;
}
}
Hey @Kai47
Can you share the link to your store please? Thanks!
And password if any or you can remove the password temporarily
This is an accepted solution.
Hi @Kai47
Try this code.
.header {
background-image: url(https://cdn.shopify.com/s/files/1/0814/0282/2984/files/header1.png?v=1710226490);
background-size: cover; /* or background-size: contain; */
}
@media (min-width: 990px) {
.header {
padding-top: 0px;
padding-bottom: 0px;
max-width: 100%;
padding-left: 3px;
padding-right: 3px;
}
}
THANK YOU SO MUCH!. Works like a charm
Hi @Kai47
You're welcome! I'm glad to hear that it worked like a charm for you! If you have any more questions or need further assistance, feel free to ask.
Learn how to expand your operations internationally with Shopify Academy’s learning path...
By Shopify Feb 4, 2025Hey Community, happy February! Looking back to January, we kicked off the year with 8....
By JasonH Feb 3, 2025Expand into selling wholesale with Shopify Academy’s learning path, B2B on Shopify: Lau...
By Shopify Jan 28, 2025