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.
By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024