Shopify themes, liquid, logos, and UX
Hello,
Im trying to reduce the height of our collection page banner only. Im using the impact theme.
This is what we are looking for:
This is what we got:
Thank you.
BR
Solved! Go to the solution
This is an accepted solution.
hey @Hobbycards ,
please paste this code in your, theme.liquid file at ending of </body>.
{% if template contains 'collection' %}
<style>
.content-over-media>:is(img,video,iframe,svg,video-media) {
height: 290px !important;
}
</style>
{% endif %}
and let me know if its works.
If I managed to help you then, don't forget to Like it and Mark it as Solution!
Hello There,
Please share your store URL and password.
So that I will check and let you know the exact solution here.
Hello,
Thank you. The URL is Hobbykort.se password: Hobbykort11
which banner do you want to change, share link of that
So basically, all collection pages will have this kind of banner." https://hobbykort.se/collections/fynd
Hello There,
try to paste this code , by navigating to theme customization and then settings to custom code,
if the height is less or greater just change the 290 value to greater or less
.content-over-media>:is(img,video,iframe,svg,video-media) {
height: 290px !important;
}
If I managed to help you then, don't forget to Like it and Mark it as Solution!
Hello,
Thank you that works. But it also changes my landing page banner height, I only want this to apply to the collection pages. Is there a solution for that?
BR
yes just give me a mint
This is an accepted solution.
hey @Hobbycards ,
please paste this code in your, theme.liquid file at ending of </body>.
{% if template contains 'collection' %}
<style>
.content-over-media>:is(img,video,iframe,svg,video-media) {
height: 290px !important;
}
</style>
{% endif %}
and let me know if its works.
If I managed to help you then, don't forget to Like it and Mark it as Solution!
It works great, thank you.
welcome.
Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024