Remove express button from featured product and padding athens 2.0

Topic summary

Goal: Remove “express checkout” buttons from a single Featured Product on the homepage and fix text padding to match the section’s bottom text (Shopify theme, Athens 2.0), without affecting the rest of the site.

What was done:

  • Guidance given to edit theme.liquid and add custom code above the tag to adjust padding specifically for that Featured Product.
  • For hiding express checkout buttons (e.g., Google Pay) in the .product-info-secondary.card of the same Featured Product, screenshots and the site URL were requested and provided, then additional targeted code was supplied in theme.liquid to hide those buttons only for that block.

Outcome:

  • The changes successfully applied only to the specified Featured Product. The requester confirmed the solution worked.

Notes:

  • Code snippets and annotated screenshots were central to the solution.
  • No broader theme or sitewide changes were made; the implementation was scoped to the specific homepage Featured Product.

Status: Resolved; no outstanding questions.

Summarized with AI on January 21. AI used: gpt-5.

Hello, I’m seeking assistance on how to remove the “express” button from the featured product section. Additionally, I’m experiencing a padding issue with the text. I would like the text to have the same padding as the text at the bottom of the featured product. It’s important to note that I only want these changes to apply to this specific featured product, not affect other elements on the website.

You can find the issue on our mainpage by visiting this link:

https://www.remlagret.se/

Your help is greatly appreciated!

Hey @emilbrandon

Follow these Steps:

  1. Go to Online Store

  2. Edit Code

  3. Find theme.liquid file

  4. Add the following code in the bottom of the file above tag


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

Best Regards,
Moeed

1 Like

Thank you, do you also know how to hide the express checkout buttons? “google pay etc” from only the .product-info-secondary.card

Hey @emilbrandon

Can you please provide a screenshot and the URL where the express checkout buttons are being displayed?

1 Like

Hello its on the same as you helped us with the padding
this red marked section. on the mainpage

www.remlagret.se

Hey @emilbrandon

Follow these Steps:

  1. Go to Online Store

  2. Edit Code

  3. Find theme.liquid file

  4. Add the following code in the bottom of the file above tag


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

Best Regards,
Moeed

1 Like

Thank you!

Thank you for your reply. I’m glad to hear that the solution worked well for you. If you require any more help, please don’t hesitate to reach out. If you find this information useful, a Like would be greatly appreciated.

1 Like