Hi,
Can anyone tell me how i change the colour of ALL hyperlinks that are throughout my website? They are all purple and i want to change these to grey #4a4848
thanks
A user seeks to change all hyperlink colors from purple to grey (#a48484) across their Dawn theme website.
Solutions provided:
CSS method: Add custom CSS to the end of base.css file:
a { color: #a48484; }
This successfully resolved the issue for the original poster.
Theme settings method: Navigate to Online Store > Themes > Customize > Theme settings > Colors > Secondary colors to adjust link colors through the built-in interface. Note: This color also affects outline buttons.
Follow-up request:
The original poster asked how to add hover state functionality (changing links to #e1d0c7 on hover). Solution provided:
a:hover { color: #e1d0c7; }
Unresolved issue:
One user reported the CSS solution didn’t work for them, with no follow-up troubleshooting yet provided.
Hi,
Can anyone tell me how i change the colour of ALL hyperlinks that are throughout my website? They are all purple and i want to change these to grey #4a4848
thanks
@sandraleedesign - please add this css to the very end of your base.css file and check
a {
color: #4a4848;
}
Hi Sandra,
Please look for the option to edit the text links’ color when customizing your theme.
From your Shopify admin, go to Online Store > Themes.
Find the theme you want to edit, and then click Customize.
Go to Theme settings > Colors > Secondary colors and change the color of the outline button. This color is also used for text links.
In this example, I use the DAWN theme so the location of this option might be different from that of your theme.
Hope it helps.
YES!! This worked! Your so amazing. thank you so much… Is there a way to add onto that code to change to #e1d0c7 when you hover over the link?
@sandraleedesign - please add this code
a:hover { color: #e1d0c7; }
This doesn’t work for me, any ideas?