# Change button style

**URL:** <https://community.shopify.com/t/change-button-style/390290>\
**Category:** Store Design\
**Tags:** design, customizations\
**Created:** [January 27, 2025, 9:32pm UTC](https://community.shopify.com/t/change-button-style/390290 "2025-01-27T21:32:18Z")\
**Posts on this page:** 4\
**Page:** 1

## AI-generated summary

A user seeks help styling buttons in their blog section to match a specific design (shown in an attached image) on their Shopify store (puerh.pro).

**Initial Solution:**
A community member provides CSS code to change the button background to white and text to black, added via the theme's CSS file in the Shopify admin.

**Refinement:**
The original poster clarifies the background color should be #FCFCFC (off-white) instead of pure white.

**Updated Solution:**
Another helper provides revised CSS targeting `a.blog__button.button` with the correct #FCFCFC background color and black text, accessible through Shopify's Theme Settings > Custom CSS section.

The discussion appears resolved with the corrected code provided, pending confirmation from the original poster.

<div class="post-metadata">

**Author:** ![Gregory87](https://avatars.discourse-cdn.com/v4/letter/g/a87d85/32.png) [@Gregory87](https://community.shopify.com/u/Gregory87)\
**Post date:** [January 27, 2025, 9:32pm UTC](https://community.shopify.com/t/change-button-style/390290/1 "2025-01-27T21:32:18Z")

</div>

Hi! Help me make the button from the blogs section look like this:

 ![Group 1.png](https://canada1.discourse-cdn.com/shopifyforum/original/2X/b/b7598a3a94ebf03bde91c9c10829d83977209b86.png)

Site link: [puerh.pro](http://puerh.pro)

---

<div class="post-metadata">

**Author:** ![Made4uo-Ribe](https://yyz1.discourse-cdn.com/shopifyforum/user_avatar/community.shopify.com/made4uo-ribe/32/9941_2.png) [@Made4uo-Ribe](https://community.shopify.com/u/Made4uo-Ribe)\
**Post date:** [January 27, 2025, 9:56pm UTC](https://community.shopify.com/t/change-button-style/390290/2 "2025-01-27T21:56:31Z")

</div>

Hi @Gregory87

TRy this one .

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, 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:

```css
.blog__button.button {
    background: white !important;
    color: black !important;
}

```

- And Save.
- Result:
- ![Made4uoRibe_0-1738014921812.png](https://canada1.discourse-cdn.com/shopifyforum/original/4X/a/6/1/a6168f92a99610cd18bd35860b6dd56ca1354f1f.png)

Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!

---

<div class="post-metadata">

**Author:** ![Gregory87](https://avatars.discourse-cdn.com/v4/letter/g/a87d85/32.png) [@Gregory87](https://community.shopify.com/u/Gregory87)\
**Post date:** [January 27, 2025, 10:05pm UTC](https://community.shopify.com/t/change-button-style/390290/3 "2025-01-27T22:05:25Z")

</div>

The background of the button should be: #FCFCFC

---

<div class="post-metadata">

**Author:** ![DaisyVo](https://yyz1.discourse-cdn.com/shopifyforum/user_avatar/community.shopify.com/daisyvo/32/109567_2.png) [@DaisyVo](https://community.shopify.com/u/DaisyVo)\
**Post date:** [January 28, 2025, 3:42am UTC](https://community.shopify.com/t/change-button-style/390290/4 "2025-01-28T03:42:31Z")

</div>

Hi @Gregory87

I hope you are well. You can follow our instructions below:

**1/** Shopify admin \> Online store \> Customize: [https://prnt.sc/XQ6IDB99kUCd](https://prnt.sc/XQ6IDB99kUCd)  
**2/** From the left menu \> Theme settings \> Open Custom CSS: [https://prnt.sc/iDxwa8zBQ4Z-](https://prnt.sc/iDxwa8zBQ4Z-)  
**3/** Copy the code below and paste it there

**Here is the code for Step 3:**

```markup
a.blog__button.button {
    color: black !important;
    background: #FCFCFC !important;
}

```

 ![image (2).png](https://canada1.discourse-cdn.com/shopifyforum/original/3X/c/2/c20bbb65d5da8d610d98fba31acdb3bff333f556.png)

Please let me know if it works. Thank you!

Best,  
Daisy - Avada Support Team.
