Dawn Theme: How to make product recommendations smaller?

Hi,

I am using Dawn Theme and product recommendations under the product page are too large. How can i make it smaller?

First screenshot is the featured product and second one is the product recommendations section below it.

1 Like

@pinkosce

Sorry you are facing this issue, it would be my pleasure to help you.

Welcome to the Shopify community! :blush:
Thanks for your good question.

Please share your site URL,
I will check out the issue and provide you a solution here.

1 Like

Thank you KetanKumar, this is my website https://pinarkoseoglucecen.myshopify.com/.

1 Like

@pinkosce

thanks for url can you try this code

  1. Go to Online Store->Theme->Edit code
  2. Asset->/base.css->paste below code at the bottom of the file.
@media screen and (min-width: 750px) {
.product-recommendations .grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.product-recommendations__heading {
    text-align: center;
}
.product-recommendations .grid--2-col-tablet .grid__item {
    width: calc(25% - var(--grid-desktop-horizontal-spacing) / 2);
    max-width: calc(25% - var(--grid-desktop-horizontal-spacing) / 2);
}
}
1 Like

Thanks a lot! It looks already much better, however i wonder if it could be aligned to the left, both the title and the products?

1 Like

@pinkosce

yes, please remove first one and add this

@media screen and (min-width: 750px) {
.product-recommendations .grid {
    display: flex;
    flex-wrap: wrap;
}

.product-recommendations .grid--2-col-tablet .grid__item {
    width: calc(25% - var(--grid-desktop-horizontal-spacing) / 2);
    max-width: calc(25% - var(--grid-desktop-horizontal-spacing) / 2);
}
}
1 Like

Perfect! thank you very much!

1 Like

@pinkosce

its my pleasure to help us

1 Like