Hi! Help me make the button from the blogs section look like this:
Site link: puerh.pro
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.
Hi @Gregory87
TRy this one .
.blog__button.button {
background: white !important;
color: black !important;
}
Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!
The background of the button should be: #FCFCFC
Hi @Gregory87
I hope you are well. You can follow our instructions below:
1/ Shopify admin > Online store > Customize: https://prnt.sc/XQ6IDB99kUCd
2/ From the left menu > Theme settings > Open Custom CSS: https://prnt.sc/iDxwa8zBQ4Z-
3/ Copy the code below and paste it there
Here is the code for Step 3:
a.blog__button.button {
color: black !important;
background: #FCFCFC !important;
}
Please let me know if it works. Thank you!
Best,
Daisy - Avada Support Team.