I am trying to change the hyperlink color on one of my pages from blue to black but I cannot figure out how to do so. After some searching, I was able to removed the underlining but now I would like to change to text color. Any suggestions will be appreciated.
Since Shopify doesn’t allow direct CSS editing in the page editor, you can either:
Option 1: Add CSS in your theme’s custom code section
Go to Online Store > Themes in your Shopify admin.
Click Customize on your current theme.
In the theme editor, click the three dots (···) in the top left, then choose Edit code.
In the Assets folder, find and open base.css (or it might be named theme.css or styles.css, depending on your theme).
Scroll to the bottom and add this CSS:
/* Make all links black and remove underline on the Signature Scent page */
.page-discover-your-signature-scent a {
color: black !important;
text-decoration: none;
}
This uses the .page-discover-your-signature-scent class that Shopify adds to the tag based on your page handle.
Save the file.
Option 2: Inline CSS (not recommended for long-term use)
If you only need this on a specific block or section, you can also add inline styles directly in the page content (via Pages > Discover Your Signature Scent > Edit):
Shop Perfumes
But for consistency and maintainability, Option 1 is better.