Refresh Theme Help! Remove Border, Centre Text for Featured Collection & Product Page

Topic summary

A user seeks CSS help to customize their Shopify store’s featured collection display by removing borders, centering text, and changing buttons to solid colors.

Initial Request:

  • Remove borders from featured collection cards
  • Center product text and information
  • Change buttons to solid color background

Solutions Provided:
Multiple community members offered CSS code snippets to add to the base.css or styles.css file, targeting:

  • .card__inner elements to remove borders
  • .card__content and .card-information for text centering
  • .quick-add__submit for button styling with solid background colors

Follow-up Request:
After initial solution worked, the user requested additional help removing borders from:

  • Product pages
  • “Others also considered” product section
  • Blog posts

Community members provided additional CSS targeting .card--card elements and collection-specific classes. The discussion includes screenshots showing the current state and desired mockup, plus code snippets with specific color values (#0a1b79, #0e1b4d, #cadc5a) for styling.

Summarized with AI on November 17. AI used: claude-sonnet-4-5-20250929.

Hi there, can i please get some help with custom css to remove the border for featured collection? Also, hoping that I can change the button to solid colour and centre the text.
Is this possible?

Currently it looks like this:

Here’s a mockup what I’m trying to achieve:

No border, Centred text, Solid coloured button

Really appreciate your help!! Thanks :slightly_smiling_face:

Hi @udontofu ,

This is David at SalesHunterThemes.

I read your problem and it seems that I need to analyze your website to provide the solution here.

Would you please share your website URL

if your website is password protected then also provide the password.

David | SalesHunterThemes team.

Hi @David_SHT thank you for your message.

here’s the URL and pass

https://4a1389.myshopify.com/

biahay

1 Like

Hi @udontofu ,

This is David at SalesHunterThemes.

Thank you for your question.

You can try to follow these steps:

Go to Online Store → Themes → Actions → Edit code.

Go Assets folder → base.css file.

Add this following code at the bottom of page.

.collection .card--standard .card__inner {
 border: none !important;
}
.collection .card__content .card__information {
 justify-content: center;
}
.collection .quick-add__submit {
  background: #a0b179;
  color: #fff;
}
.collection button:after {
 box-shadow: none;
}

Here is the result:

If I managed to help you then, don’t forget to Like it and Mark it as Solution!

David | SalesHunterThemes team

Hi @udontofu

I hope you are doing good and welcome to the Shopify Community!
I am San from MS Web Designer.

Please add this css in your bottom of the styles.css file:
.card–card, .card–standard .card__inner {border: none !important;}

.card__content, .card-information {text-align: center !important;}

.quick-add__submit {background: #0e1b4d; color: #fff;}

Regards,

San

1 Like

Thank you so much this worked!

Can you please also help with the below removing the border for:

  • Product page
  • Product ‘others also considered’ section
  • Blog posts

Thank you so much! :slightly_smiling_face:

Hello @udontofu

You can try this code: it will be helpful to you

Go to the Online Store->Theme->Edit code->Assets->base.css>Add this code at the bottom.

.collection .card.card--card.card--media.color-scheme-5a9fdfd7-c77c-4c65-8231-ade3a92601ae.gradient {
    border: none !important;
}
.collection .card__content {
    text-align: center;
}
.collection .card-information {
    width: 100%;
    text-align: center;
}
.collection .quick-add.no-js-hidden button {
    background: #cacda5 !important;
}