How can I adjust the size and alignment of my ATC button on Impulse theme?

Hello

How can I align the ATC buttons on my collection page. I am using Impulse theme

https://www.scotthomedelivery.mu/

Also why is my ADT button on mobile so big?

Hi @TBS2022 ,

This is Kate from PageFly - Landing page builder, I’d like to suggest this idea:
Step 1: Go to Online Store->Theme->Edit code
Step 2: Asset->/theme.css->paste below code at the bottom of the file:

.grid-product__meta .grid-product__title {
    height: 40px;
    overflow: hidden;
}
@media screen and (max-width: 767px) {
    .grid-product input.btn {
        font-size: 10px !important;
        width: 100% !important;
    }
    .grid-product__meta .grid-product__title {
        height: 32px;
    }
}

I hope it would help you

superbe

on mobile it’s still not aligned though when there is a sale price

1 Like

Hi @TBS2022 ,

Sure, I’m happy to help you. Let’s try this solution:
Step 1: Go to Online Store->Theme->Edit code
Step 2: Asset->/theme.css->paste below code at the bottom of the file:

.collection-grid__wrapper .grid {
    display: grid;
    flex-wrap: wrap;
    grid-template-columns: 1fr 1fr 1fr 1fr;
}
.collection-grid__wrapper .grid > * {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-content: space-between;
    justify-content: center;
}
.collection-grid__wrapper .grid .grid-product__content {
    width: 100%;
}
.collection-grid__wrapper .grid form {
    width: 100%;
}
@media screen and (max-width: 740px) {
    .collection-grid__wrapper .grid {
         grid-template-columns: 1fr 1fr;
    }
}

I hope it would help you

thanks-

on another note- would you know how to create ‘Tabs’ for subcollections?

@PageFly-Kate

my sub collections have disappeared- is that due to your code??? :disappointed_face:

Hi @TBS2022 ,

Where is the sub collection you are talking about? Can you send a link to the page with that part and take a picture of it so I can check it?