Center Align Quick-Add Buttons on Sense Theme

Hello!

I wanted to ask for help to center align the quick-add buttons seen in the screenshot below.

I would also like to fix other collection pages that have the same issue.

Here’s the store URL.

Your help would be much appreciated.

Thank you so much!

1 Like

Hi @trx1234 ,

Try this.

  1. From your Shopify admin dashboard, click on “Online Store” and then “Themes”.
  2. Find the theme that you want to edit and click on “Actions” and then “Edit code”.
  3. In the “Assets” folder, click on “base.css” file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:
  4. And Save.
slider-component.slider-mobile-gutter.page-width.page-width-desktop  .quick-add.no-js-hidden {
    justify-content: center;
}

Result:

I hope it help.

1 Like

It worked nicely! Thank you so much!

I checked the collection page and it has the same issue. Please help me center-align the buttons on this page. And how do I fix the same problem with the other collection pages? Thank you

1 Like

Try this one.

div#ProductGridContainer .quick-add.no-js-hidden {
    justify-content: center;
}

Result:

I hope it help.

1 Like

This code worked. Thank you!

1 Like