Re: Changing text color of header selected page

Changing text color of header selected page

caitlynneal
Tourist
12 0 5

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

 

Screen Shot 2024-09-21 at 1.13.40 PM.png

Replies 9 (9)

Tech_Coding
Shopify Partner
504 128 126

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.

my reply helpful? Click Like to let me know!
your question answered? Mark it as an Accepted Solution.
Shopify UI Developer
Your Coffee Tips adds a little sweetness to my day.
caitlynneal
Tourist
12 0 5

Thanks so much for you help!! @Tech_Coding www.silksoothehair.com

P: rtutti

Tech_Coding
Shopify Partner
504 128 126

You can add code by following these steps

1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file

3. Paste the below code before </body> on theme.liquid
<style>
   header span.header__active-menu-item {
      color: #000 !important; /*change color according to you*/
   }
</style>

Tech_Coding_0-1726887321886.png

my reply helpful? Click Like to let me know!
your question answered? Mark it as an Accepted Solution.

my reply helpful? Click Like to let me know!
your question answered? Mark it as an Accepted Solution.
Shopify UI Developer
Your Coffee Tips adds a little sweetness to my day.
caitlynneal
Tourist
12 0 5

Screen Shot 2024-09-21 at 3.02.58 PM.png

Hmm, it didn't seem to change- what am I doing wrong? @Tech_Coding 

Tech_Coding
Shopify Partner
504 128 126

The code you have pasted is correct in the file but when I inspect it it looks like this

Tech_Coding_0-1726888395480.png

 

remove the code and paste it  before </body>

<style>
   header span.header__active-menu-item {
      color: #000000 !important; /*change color according to you*/
   }
</style>

my reply helpful? Click Like to let me know!
your question answered? Mark it as an Accepted Solution.
Shopify UI Developer
Your Coffee Tips adds a little sweetness to my day.

BSS-TekLabs
Shopify Partner
2401 695 828

Hello @caitlynneal 
Our team is ready to help you.
Please share your website URL so that we can check and assist you.

If our suggestions are useful, please let us know by giving it a like or marking it as a solution.


Salepify: Efficiently increase sales conversion with sale-driven features like auto add to cart, free gifts (free plan available)


Salemate: Boost your AVO with 2-layer offer, countdown upsell in your post purchase page


BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now
BSS-TekLabs
Shopify Partner
2401 695 828

- Here is the solution for you @caitlynneal 
- Please follow these steps:
1. Go to Online Store --> Theme --> Edit code.
2. Open your theme.liquid file
3. In theme.liquid, paste the below code before </head> and press 'Save' to save it

<style>
.header__active-menu-item {
    color: #000000 !important;
}
</style>

- Change #000000 to color you 

- Here is the result you will achieve:

BSSTekLabs_0-1726887071172.png

 

- Please press 'Like' and mark it as 'Solution' if you find it helpful. Thank you.

If our suggestions are useful, please let us know by giving it a like or marking it as a solution.


Salepify: Efficiently increase sales conversion with sale-driven features like auto add to cart, free gifts (free plan available)


Salemate: Boost your AVO with 2-layer offer, countdown upsell in your post purchase page


BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now
caitlynneal
Tourist
12 0 5

Hi, how would I change the colour for the 'home' selected page? from dark grey to white

caitlynneal
Tourist
12 0 5

ah it worked!!! thank you