Shopify themes, liquid, logos, and UX
Hello!
How can I stretch my banner in length without losing quality!?
site: https://salebk.com/collections/bath-toys
Solved! Go to the solution
This is an accepted solution.
Hey @AntonysaleBK,
Try this, you shouldn't loose quality.
Go to your theme's "Edit Code" Option, then in the search bar type "theme.liquid"
Below the tag "<head>" tag paste the following. Screenshot attached for reference.
If you want to change the image, replace the url within quotes where it says:
background-image: url('https://cdn.shopify.com/s/files/1/0674/6262/7573/files/zyro-image_12.jpg'), put the high quality version there.
<style>
.collection-hero__description img {
width: 100%;
visibilty: hidden !important;
opacity: 0 !important;
}
.collection-hero__description {
max-width: 100%;
background-image: url('https://cdn.shopify.com/s/files/1/0674/6262/7573/files/zyro-image_12.jpg');
background-size: 100%;
display: flex;
}
</style>
Screenshot is for reference only, the correct code to paste is the one shown above.
This is an accepted solution.
Hey @AntonysaleBK,
Try this, you shouldn't loose quality.
Go to your theme's "Edit Code" Option, then in the search bar type "theme.liquid"
Below the tag "<head>" tag paste the following. Screenshot attached for reference.
If you want to change the image, replace the url within quotes where it says:
background-image: url('https://cdn.shopify.com/s/files/1/0674/6262/7573/files/zyro-image_12.jpg'), put the high quality version there.
<style>
.collection-hero__description img {
width: 100%;
visibilty: hidden !important;
opacity: 0 !important;
}
.collection-hero__description {
max-width: 100%;
background-image: url('https://cdn.shopify.com/s/files/1/0674/6262/7573/files/zyro-image_12.jpg');
background-size: 100%;
display: flex;
}
</style>
Screenshot is for reference only, the correct code to paste is the one shown above.
2m ago Learn the essential skills to navigate the Shopify admin with confidence. T...
By Shopify Feb 12, 2025Learn 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, 2025