Can I make a hover of Second Image on a Image? DAWN THEME

Can I make a hover of Second Image on a Image? DAWN THEME

Gorben
Excursionist
24 0 5

Hello I have the following web where I am working on: https://b6c3b1lyud7zarov-72689647911.shopifypreview.com

 

The thing is that I want to have the 3 images without a gap and also to change to another second image when i hover over it. I know that it can have that effect with the Product or collection but I need to make it with images not products.

 

Can someone help please? I have coding knowledge and added this on theme.liquid just to test and it worked but now I need to change image:

<style>
.multicolumn-card__image-wrapper .media { transition: transform .5s; }
.multicolumn-card__image-wrapper .media:hover { transform: scale(1.1); }
</style>

Replies 4 (4)

BSSCommerce-HDL
Shopify Partner
2056 726 900

Hi @Gorben 

Step 1: Go to Shopify Admin -> Online Store ->Theme -> Edit code

Step 2: Search file theme.liquid

Step 3: Insert this code above </head> tag:

 

    
    .multicolumn-card__image-wrapper.multicolumn-card__image-wrapper--full-width.multicolumn-card-spacing {
        margin: 0px!important;
    }
    #Slider-template--23279604564309__multicolumn_rXrnXk {
        gap: 0px!important;
}
    #shopify-section-template--23279604564309__multicolumn_rXrnXk > div > div {
        padding: 0 0!important
    }

 

Here is result:

BSSCommerceHDL_0-1723200540469.png

Hope this can help you, If our suggestions are useful, please let us know by giving it a like or marking it as a solution. Thank you 😍

If our suggestions are useful, please let us know by giving it a like, marking it as a solution, or donating here .

B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.
Product Labels & Badges:
Get more sales with striking labels, badges, and banners from our 10,000+ available templates.

BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now

Gorben
Excursionist
24 0 5

Hello! The gap dissapeared! But it's only the half solution! I want it also to change to other image when you hover on it!

EXAMPLE:

Gorben_0-1723201147880.png       

HOVER:

Gorben_1-1723201196214.png

 

 

THANKS!

BSSCommerce-HDL
Shopify Partner
2056 726 900

Are you meaning you want hover effect? 
you can merge you first style hover code with my  sugguestion code like here:

<style>
.multicolumn-card__image-wrapper .media { transition: transform .5s; }
.multicolumn-card__image-wrapper .media:hover { transform: scale(1.1); }

.multicolumn-card__image-wrapper.multicolumn-card__image-wrapper--full-width.multicolumn-card-spacing {
        margin: 0px!important;
    }
    #Slider-template--23279604564309__multicolumn_rXrnXk {
        gap: 0px!important;
}
    #shopify-section-template--23279604564309__multicolumn_rXrnXk > div > div {
        padding: 0 0!important
    }
</style>

If our suggestions are useful, please let us know by giving it a like, marking it as a solution, or donating here .

B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.
Product Labels & Badges:
Get more sales with striking labels, badges, and banners from our 10,000+ available templates.

BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now

Gorben
Excursionist
24 0 5

Hello But one question! I also need it for my products in below those images! TO look like this:

Gorben_0-1723206704572.png

 

is it possible? Thanks