Multicolumn card reduct icon size on product page

Solved

Multicolumn card reduct icon size on product page

isabellemaria
Trailblazer
221 2 27

Hi there,

 

I inserted a multicolumn section at the end of this page: https://taneraskin.com/products/peeling-handschuh 

 

And the icons are too large. I used a code for the same section on the homepage, so I thought I could just copy it and insert the new number (19921507942668__multicolumn_ARqxJi), but it doesnt work.

 

Bildschirmfoto 2024-06-07 um 16.19.25.png

 

Any idea how to do this??

 

This is the code I added at the end of base.css for the same section on the landing page:

 

.section-template--19921507778828__multicolumn_ggPawF-padding .multicolumn-card__image-wrapper--third-width {
max-width: 15%;
}
@media (min-width: 550px) and (max-width: 989px){
.multicolumn-card__image-wrapper--third-width {
width: 10%;
}
ul#Slider-template--19921507778828__multicolumn_ggPawF {
display: grid;
grid-template-columns: repeat(4, 1fr);
width: auto;
gap: 2px;
}
.section-template--19921507778828__multicolumn_ggPawF-padding .multicolumn-list:not(.slider) .center .multicolumn-card__info {
padding-left: 0px;
padding-right: 0px;
}

 

 

Best,

Isabelle

Accepted Solution (1)
BSSCommerce-HDL
Shopify Partner
2305 835 907

This is an accepted solution.

Hi @isabellemaria, Because this is a collection page, you need to add this code to your theme.liquid file similar to above

body:has(.collection) .multicolumn-card__image-wrapper--third-width {
    width: 17% !important;
}

Here is result: 

BSSCommerceHDL_0-1717775118405.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 😍

Sale banner, pop ups: Customize your sale banner, pop-ups and create countdown bar to boost conversion rate.
Simicart: Transform your Shopify store into a stunning and fully functional mobile app with just a few simple steps.
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

View solution in original post

Replies 6 (6)

BSSCommerce-HDL
Shopify Partner
2305 835 907

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

Step 2: Search file base.css, theme.css, styles.css, custom.css or theme.scss.liquid

Step 3: Insert the below code at the bottom of the file -> Save

body:has(.product__info-wrapper) .multicolumn-card__image-wrapper--third-width {
    width: 17% !important;
}

Here is result: 

BSSCommerceHDL_0-1717771234694.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 😍

Sale banner, pop ups: Customize your sale banner, pop-ups and create countdown bar to boost conversion rate.
Simicart: Transform your Shopify store into a stunning and fully functional mobile app with just a few simple steps.
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

isabellemaria
Trailblazer
221 2 27

This worked in theme.liquid, thanks! Do you also have an idea how to display the whole multicolumn section (text and icons) all four boxes next to eachother in mobile layout?

BSSCommerce-HDL
Shopify Partner
2305 835 907

Hi @isabellemaria
I think with 4 boxes it will be too small compared to the mobile screen. It will look like this

BSSCommerceHDL_0-1717773711246.png

 

Sale banner, pop ups: Customize your sale banner, pop-ups and create countdown bar to boost conversion rate.
Simicart: Transform your Shopify store into a stunning and fully functional mobile app with just a few simple steps.
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

isabellemaria
Trailblazer
221 2 27

I see, you are right. Do you know why the code I have now works everywhere, but does not make my icons smaller on this page? https://taneraskin.com/collections/produkte 

BSSCommerce-HDL
Shopify Partner
2305 835 907

This is an accepted solution.

Hi @isabellemaria, Because this is a collection page, you need to add this code to your theme.liquid file similar to above

body:has(.collection) .multicolumn-card__image-wrapper--third-width {
    width: 17% !important;
}

Here is result: 

BSSCommerceHDL_0-1717775118405.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 😍

Sale banner, pop ups: Customize your sale banner, pop-ups and create countdown bar to boost conversion rate.
Simicart: Transform your Shopify store into a stunning and fully functional mobile app with just a few simple steps.
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

Vinsinfo
Shopify Partner
486 165 169

@isabellemaria It seems } is missing at the end in the provided code, please add it and let me know whether it works.

 

.section-template--19921507942668__multicolumn_ARqxJi-padding .multicolumn-card__image-wrapper--third-width {
    max-width: 15%;
}

@media (min-width: 550px) and (max-width: 989px) {
    .multicolumn-card__image-wrapper--third-width {
        width: 10%;
    }

    ul#Slider-template--19921507942668__multicolumn_ARqxJi {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        width: auto;
        gap: 2px;
    }

    .section-template--19921507942668__multicolumn_ARqxJi-padding .multicolumn-list:not(.slider) .center .multicolumn-card__info {
        padding-left: 0px;
        padding-right: 0px;
    }
}

 

 
Please provide your support by click "Like" and "Accepted" if our solution works for you. Thanks for your support.
Please reach out to bizdev@vinsinfo.com for any enquires related to Shopify.
Our Services: Custom Theme Development, Theme Customization, Custom Feature Implementation, Data Migration, Custom APP Development, Website Optimization and Google Merchant Center Support