Invisible header side menu

Solved

Invisible header side menu

Shani-Swim
Tourist
21 1 6

I have an invisible header side menu white

ShaniSwim_0-1724835017452.png
but when I scroll down and the header become black for the website also the side menu become black and impossible to see the content.

ShaniSwim_1-1724835073765.png

Is there anyway to fix it please?

Accepted Solutions (2)
niraj_patel
Shopify Partner
2378 514 511

This is an accepted solution.

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.header.scrolled-past-header .header__menu-item.list-menu__item {
color: #fff !important;
}
</style>

niraj_patel_0-1724836351583.png

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

 

Shopify Partner || Helping eCommerce Stores
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution.
- For further discussion contact: Email ID- info@techlyser.com

View solution in original post

BSSCommerce-HDL
Shopify Partner
1905 661 792

This is an accepted solution.

@Shani-Swim, Remove old code change to this new code: 

{% if template.name == 'index' %}
    <style>
       .scrolled-past-header ul.menu-drawer__menu.list-menu li a,
       .scrolled-past-header .menu-drawer summary.menu-drawer__menu-item,
       .scrolled-past-header button.disclosure__button.localization-form__select.localization-selector
       {
         color: #ffff !important;
       }
    </style>
{% endif %}

Hope this can help you 😍

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


B2B Solution & Custom Pricing | Product Labels by BSS


Need help from our expert? Kindly share your request with us via community@bsscommerce.com


BSS Commerce - Full-service eCommerce Agency

View solution in original post

Replies 20 (20)

topnewyork
Globetrotter
569 95 121

Hi @Shani-Swim ,  can you kindly share your store URL. 


Thanks!

Need a Shopify developer?
Hire us at topnewyorkwebdesign.com
For Shopify Design Changes | Shopify Custom Coding | Custom Modifications
Subscribe to our youtube channel
Shani-Swim
Tourist
21 1 6

Sure- here is the link:
https://036fa1-f4.myshopify.com/

niraj_patel
Shopify Partner
2378 514 511

This is an accepted solution.

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.header.scrolled-past-header .header__menu-item.list-menu__item {
color: #fff !important;
}
</style>

niraj_patel_0-1724836351583.png

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

 

Shopify Partner || Helping eCommerce Stores
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution.
- For further discussion contact: Email ID- info@techlyser.com
Shani-Swim
Tourist
21 1 6

Thank you dear, is solve the problem.

Shani-Swim
Tourist
21 1 6

Hi Niraj it worked on desktop but not on mobile. How do I apply it also on mobile please?

niraj_patel
Shopify Partner
2378 514 511

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>
  .menu-drawer__inner-container ul.menu-drawer__menu.list-menu li a, .menu-drawer summary.menu-drawer__menu-item,      button.disclosure__button.localization-form__select.localization-selector {
  color: #fff !important;
}
</style>

niraj_patel_0-1724837965644.png

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

Shopify Partner || Helping eCommerce Stores
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution.
- For further discussion contact: Email ID- info@techlyser.com
Shani-Swim
Tourist
21 1 6

when scrolled down yes

ShaniSwim_0-1724850297896.png

 

but when we are up on the invisible mode header no.

 

ShaniSwim_1-1724850330715.png

 

hiba665
New Member
8 0 4

Hello sir I need your help , I'm facing a problem in tablet and mobile view , when I click the burger icon a white transaprent backaground aprears instead of the menu , help me please to solve it 

here it is my website I used dawn them : https://www.cozmic.me/ 

 

oscprofessional
Shopify Partner
16115 2409 3121

Hi @Shani-Swim 

 

Go to Shopify Admin -> Online Store ->Theme -> Edit code->base.css

Add this css code in the end of the base.css file.

 

 

.scrolled-past-header .header__submenu .header__menu-item {
    color: #fff !important;
}

oscprofessional_0-1724835968488.png

oscprofessional_2-1724836003943.png

 

 

 

 

Get pass your Store Core Web Vital Free Speed Optimization Audit, Chat on WhatsApp | Skype : oscprofessionals-87 | Email: pallavi@oscprofessionals.com | Hire us | Guaranteed Site Speed Optimization | Website Free Audit | Shopify Theme Customization | Build Shopify Private App | Shopify SEO | Digital Marketing | Oscp Upsell & Cross sell App : Free | Oscp Sales & Volume Discount App : Free | Custom Pricing Wholesale App : Free
Shani-Swim
Tourist
21 1 6

The first solution worked for me but thank you for the fast answer.

Shani-Swim
Tourist
21 1 6

it work but on mobile it did not change so we still see black.

Shani-Swim
Tourist
21 1 6

on mobile now I have it white on white when we scroll up

ShaniSwim_0-1724856521959.png

 

BSSCommerce-HDL
Shopify Partner
1905 661 792

Hi @Shani-Swim

Step 1: Go to Shopify Admin -> Online Store ->Theme -> Edit code

Step 2: Search file theme.liquid

Step 3: Insert this code above </head> tag:

{% if template.name == 'index' %}
    <style>
       header.header.scrolled-past-header .header__menu-item {
         color: #ffff !important;
       }
    </style>
{% endif %}

 Here is result:

BSSCommerceHDL_0-1724836169232.png

Hope this can help you,

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

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


B2B Solution & Custom Pricing | Product Labels by BSS


Need help from our expert? Kindly share your request with us via community@bsscommerce.com


BSS Commerce - Full-service eCommerce Agency

BSSCommerce-HDL
Shopify Partner
1905 661 792

Hi @Shani-Swim

Step 1: Go to Shopify Admin -> Online Store ->Theme -> Edit code

Step 2: Search file theme.liquid

Step 3: Insert this code above </head> tag:

 

{% if template.name == 'index' %}
    <style>
       ul.menu-drawer__menu.list-menu li a,
       .menu-drawer summary.menu-drawer__menu-item,
       button.disclosure__button.localization-form__select.localization-selector
       {
         color: #ffff !important;
       }
    </style>
{% endif %}

 

 Here is result:

BSSCommerceHDL_0-1724837393019.png

Hope this can help you,

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

 

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


B2B Solution & Custom Pricing | Product Labels by BSS


Need help from our expert? Kindly share your request with us via community@bsscommerce.com


BSS Commerce - Full-service eCommerce Agency
BSSCommerce-HDL
Shopify Partner
1905 661 792

Hi @Shani-Swim, i update code. Pls replace my old code to this code : 

 

{% if template.name == 'index' %}
    <style>
       .scrolled-past-header ul.menu-drawer__menu.list-menu li a,
       .scrolled-past-header .menu-drawer summary.menu-drawer__menu-item,
       .scrolled-past-header button.disclosure__button.localization-form__select.localization-selector
       {
         color: #ffff !important;
       }
    </style>
{% endif %}

 

Hope this can help you,

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

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


B2B Solution & Custom Pricing | Product Labels by BSS


Need help from our expert? Kindly share your request with us via community@bsscommerce.com


BSS Commerce - Full-service eCommerce Agency
BSSCommerce-HDL
Shopify Partner
1905 661 792

@Shani-Swim, Pls check this above code 

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


B2B Solution & Custom Pricing | Product Labels by BSS


Need help from our expert? Kindly share your request with us via community@bsscommerce.com


BSS Commerce - Full-service eCommerce Agency
Shani-Swim
Tourist
21 1 6

on Mobile we have a white background when we are on the top scroll header

ShaniSwim_1-1724856764713.png

 

ShaniSwim_2-1724856781703.png

on Desktop mode it work fine so I need it also on mobile mode please.

BSSCommerce-HDL
Shopify Partner
1905 661 792

This is an accepted solution.

@Shani-Swim, Remove old code change to this new code: 

{% if template.name == 'index' %}
    <style>
       .scrolled-past-header ul.menu-drawer__menu.list-menu li a,
       .scrolled-past-header .menu-drawer summary.menu-drawer__menu-item,
       .scrolled-past-header button.disclosure__button.localization-form__select.localization-selector
       {
         color: #ffff !important;
       }
    </style>
{% endif %}

Hope this can help you 😍

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


B2B Solution & Custom Pricing | Product Labels by BSS


Need help from our expert? Kindly share your request with us via community@bsscommerce.com


BSS Commerce - Full-service eCommerce Agency
Shani-Swim
Tourist
21 1 6

also did not work I still have on mobile the same issue.

Shani-Swim
Tourist
21 1 6

Worked like magic! thank you very much.