How do i have white font on header/shipping/search icons for homepage only? Dawn theme

brokenbannaba
Excursionist
49 0 2

In addition to this, how do I have a white logo for homepage only aswell. Thank you!

 

Replies 11 (11)

GemPages
Shopify Partner
5588 1261 1207

Hello @brokenbannaba 

 

It's GemPages support team and glad to support you today.

To provide you with the most precise solution in this case, could you please share the store link?

GemPages - Build any high-converting store pages for any business


- If you find my reply helpful, please hit Like and Mark as Solution
- Get connected: App Store | Blog | Community | Help Center
brokenbannaba
Excursionist
49 0 2

sublimesnkrs.com

baurti

GemPages
Shopify Partner
5588 1261 1207

@brokenbannaba 

 

I would like to give you a solution to support you.

1. Go to Online Store -> Theme -> Edit code.

2. Open your theme.liquid theme file.

3. Paste the below code before </body>:

 

{% if template contains 'index' %}
<style>
 #shopify-section-header .header__icons *,
    #shopify-section-header nav.header__inline-menu ul.list-menu--inline > li header-menu span,
 #shopify-section-header nav.header__inline-menu ul.list-menu--inline > li  header-menu svg,
    #shopify-section-header nav.header__inline-menu ul.list-menu--inline > li > a span,
    #shopify-section-header nav.header__inline-menu ul.list-menu--inline > li > a{
       color: #ffffff;
    }
     #shopify-section-header nav.header__inline-menu ul.list-menu--inline > li header-menu path{ fill: #ffffff;}
  </style>
{% endif %}

 

Hope my solution can work and support you!

Kind & Best regards!

GemPages Support Team.

GemPages - Build any high-converting store pages for any business


- If you find my reply helpful, please hit Like and Mark as Solution
- Get connected: App Store | Blog | Community | Help Center
brokenbannaba
Excursionist
49 0 2

Thank you so much, would you be able to help me get a white logo for homepage only too?

 

brokenbannaba
Excursionist
49 0 2

hey @GemPages i came across a problem as the text in the dropdown under "sneakers" appears white. Is there any way to fix this? 

Screenshot 2023-01-02 at 2.24.43 am.png

GemPages
Shopify Partner
5588 1261 1207

@brokenbannaba 

 

I checked that 1 of the code you added previously affects

 

Screenshot_2.png

 

you can delete this code and add my code above

GemPages - Build any high-converting store pages for any business


- If you find my reply helpful, please hit Like and Mark as Solution
- Get connected: App Store | Blog | Community | Help Center
brokenbannaba
Excursionist
49 0 2

Hey, i can't find where this is?

 

PageFly-Victor
Shopify Partner
7865 1785 3055

About the logo color change issue I think you should use another white logo if using css code your logo will look weird

brokenbannaba
Excursionist
49 0 2

if i do that, once i go to a different page you can't see the logo because it blends in with the back.

 

brokenbannaba
Excursionist
49 0 2

@GemPages  where do i find this code?

 

PageFly-Victor
Shopify Partner
7865 1785 3055

Hi @brokenbannaba 

You can try this code by following these steps:
Go to Online store => themes => actions => edit code  and add this code on file theme.liquid

PageFlyVictor_0-1672583840722.png

 

{% if template.name == "index" %} 
{% style %}
.header__menu-item{
color: red;
}
.header__active-menu-item{
color: red !important;
}
{% endstyle %}
{% endif %}


Hope this answer helps.
Best regards,
Victor | PageFly