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 build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025