Edit button look on homepage

Topic summary

A user seeks to replicate Gucci’s homepage button style for their \

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

Hi guys,

Website: seraneeva.com

How can I edit my “buy now” button to look like the attached image found on gucci’s homepage? I would really appreciated any help!!

1 Like

Hi @flammagreg

Check this one. Try to add the image so can see properly the result.

From your Shopify admin dashboard, click on “Online Store” and then “Themes”.

Find the theme that you want to edit and click on “Actions” and then “Edit code”.

In the “Assets” folder, click on “base.css, style.css or theme.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:

a.btn.homepage-section-btn:before {
    opacity: .2;
}
a.btn.homepage-section-btn {
    border: 1px solid white;
}

And Save.

Result:

On the sample image, im not sure how much opacity it used. But you can adjudt it.

Hi @flammagreg ,

You can try this code by following these steps:

Step 1: Go to Shopify Admin → Online Store ->Theme → Edit code
Step 2: Search theme.liquid. After you insert my code inside it

{% if template.name == 'index' %}
    
  {% endif %}

Here is result:

Hope this can help you,

If our suggestions are useful, please let us know by giving it a like or marking it as a solution. Thank you :heart_eyes:

1 Like