Shopify themes, liquid, logos, and UX
Hello,
My website is https://n8z0xm-yb.myshopify.com/
Pw = cheack
i am using the multicolumn section on my homepage to link to various collections. However I’d like the link to be over (on the image) the image instead of below. What’s the best way to do this?
Also would like to change the image on hover, how would I go about doing that?
and is there a way to extend this section ONLY to the full width of the page? WITHOUT changing how the other sections of the homepage are?
Thanks.
Solved! Go to the solution
This is an accepted solution.
Hi @schilp
.multicolumn-card.content-container .multicolumn-card__info {
position: absolute !important;
top: 0;
left: 0;
right: 0;
bottom: 0;
}
.multicolumn-card.content-container .multicolumn-card__info a.link.animate-arrow {
color: white !important;
}
Add the images you want to display on hover.
Example:
Add the following Liquid code to the appropriate multicolumn section of your Shopify theme (likely in a custom multicolumn.liquid or similar file). Adjust the image links as needed.
{% if forloop.index == 1 %}
<img src="https://cdn.shopify.com/s/files/1/0674/2743/4660/files/Coffee_Roasting_Techniques.webp?v=1737183745" class="img-hover" style="display: none;" />
{% elsif forloop.index == 2 %}
<img src="https://cdn.shopify.com/s/files/1/0674/2743/4660/files/Coffee_Roasting_Techniques.webp?v=1737183745" class="img-hover" style="display: none;" />
{% elsif forloop.index == 3 %}
<img src="https://cdn.shopify.com/s/files/1/0674/2743/4660/files/Coffee_Roasting_Techniques.webp?v=1737183745" class="img-hover" style="display: none;" />
{% endif %}
Paste the following CSS into your theme's CSS file or Assets > base.css:
.multicolumn-card.content-container:hover .multicolumn-card__image-wrapper > .media > img:nth-child(1) {
display: none !important;
}
.multicolumn-card.content-container:hover .multicolumn-card__image-wrapper > .media > img.img-hover {
display: block !important;
}
I hope this helps
Best,
Daisy
Hi @schilp
Try this one.
.page-width.section-template--24102789972340__multicolumn_YrY3V4-padding {
max-width: 100%;
}
.multicolumn-card__info {
position: absolute;
bottom: 0;
}
.multicolumn-card__info a.link.animate-arrow {
color: white;
}
"Also would like to change the image on hover, how would I go about doing that?" -you might need a developer for this.
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
This is an accepted solution.
Hi @schilp
.multicolumn-card.content-container .multicolumn-card__info {
position: absolute !important;
top: 0;
left: 0;
right: 0;
bottom: 0;
}
.multicolumn-card.content-container .multicolumn-card__info a.link.animate-arrow {
color: white !important;
}
Add the images you want to display on hover.
Example:
Add the following Liquid code to the appropriate multicolumn section of your Shopify theme (likely in a custom multicolumn.liquid or similar file). Adjust the image links as needed.
{% if forloop.index == 1 %}
<img src="https://cdn.shopify.com/s/files/1/0674/2743/4660/files/Coffee_Roasting_Techniques.webp?v=1737183745" class="img-hover" style="display: none;" />
{% elsif forloop.index == 2 %}
<img src="https://cdn.shopify.com/s/files/1/0674/2743/4660/files/Coffee_Roasting_Techniques.webp?v=1737183745" class="img-hover" style="display: none;" />
{% elsif forloop.index == 3 %}
<img src="https://cdn.shopify.com/s/files/1/0674/2743/4660/files/Coffee_Roasting_Techniques.webp?v=1737183745" class="img-hover" style="display: none;" />
{% endif %}
Paste the following CSS into your theme's CSS file or Assets > base.css:
.multicolumn-card.content-container:hover .multicolumn-card__image-wrapper > .media > img:nth-child(1) {
display: none !important;
}
.multicolumn-card.content-container:hover .multicolumn-card__image-wrapper > .media > img.img-hover {
display: block !important;
}
I hope this helps
Best,
Daisy
This worked great! Thanks!
I tried fiddling with the position to move the link to the center of the image/column but wasn't able to figure it out. Any suggestions on that?
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