Hi, how can I change the text colour of the selected page (HOME) on my website? Heres a screenshot. It does not seem to be an option in my theme color settings. Thanks
Topic summary
A user seeks to change the text color of the selected/active page (βHOMEβ) in their website header, which currently appears in dark grey and they want to change to white.
Solution Provided:
Two developers offered CSS code solutions:
- Insert custom CSS in
theme.liquidfile before</head>or</body>tag - Target the active menu item with:
header span.header__active-menu-item { color: #000000 !important; } - Replace
#000000with desired color code (e.g., white:#FFFFFF)
Implementation Steps:
- Navigate to Online Store β Theme β Edit code
- Open
theme.liquidfile - Paste the CSS code before closing
</body>tag - Save changes
Outcome:
Initially the user encountered issues with implementation, but after troubleshooting the code placement, the solution successfully worked. The user confirmed the fix resolved their issue.
Hello @caitlynneal
would you like to share your store URL and password if any please.
so i can check and provide you possible solution for your question.
Hello @caitlynneal
Our team is ready to help you.
Please share your website URL so that we can check and assist you.
Thanks so much for you help!! @Tech_Coding www.silksoothehair.com
P: rtutti
- Here is the solution for you @caitlynneal
- Please follow these steps:
- Go to Online Store β Theme β Edit code.
- Open your theme.liquid file
- In theme.liquid, paste the below code before and press βSaveβ to save it
-
Change #000000 to color you
-
Here is the result you will achieve:
- Please press βLikeβ and mark it as βSolutionβ if you find it helpful. Thank you.
You can add code by following these steps
-
Go to Online Store β Theme β Edit code.
-
Open your theme.liquid file
-
Paste the below code before on theme.liquid
my reply helpful? Click Like to let me know!
your question answered? Mark it as an Accepted Solution.
Hmm, it didnβt seem to change- what am I doing wrong? @Tech_Coding
The code you have pasted is correct in the file but when I inspect it it looks like this

remove the code and paste it before
header span.header__active-menu-item { color: #000000 !important; /*change color according to you*/ }Hi, how would I change the colour for the βhomeβ selected page? from dark grey to white
ah it worked!!! thank you



