Invisible header side menu

Solved

Invisible header side menu

Shani-Swim
Excursionist
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
2391 516 515

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
2305 835 907

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 😍

Sale banner, pop ups: Customize your sale banner, pop-ups and create countdown bar to boost conversion rate.
Simicart: Transform your Shopify store into a stunning and fully functional mobile app with just a few simple steps.
Product Labels & Badges:
Get more sales with striking labels, badges, and banners from our 10,000+ available templates.

BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now

View solution in original post

Replies 20 (20)

topnewyork
Astronaut
1299 160 217

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


Thanks!

Need a Shopify developer? Hire us at Top New York Web Design
Boost Your Store Sales with Volume/Tier Discount Try Big Bulk Discount
Create New Shopify Store For Just 1$/Month
Shani-Swim
Excursionist
21 1 6

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

niraj_patel
Shopify Partner
2391 516 515

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
Excursionist
21 1 6

Thank you dear, is solve the problem.

Shani-Swim
Excursionist
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
2391 516 515

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
Excursionist
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
Tourist
10 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
16343 2438 3177

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

 

 

 

 

Hire us | Pass Core Web Vital | B2B Wholesale Experts | Claim Your Free Website Review |
Connect with Us: WhatsApp | Skype: oscprofessionals-87 | Email: pallavi@oscprofessionals.com |
Custom Shopify SolutionsPrivate Apps, Theme Customization & SEO | Digital Marketing |
OSCP Apps: Discount Suite | Wholesale App | Bundle & Upsell | Shipping Discount | and more...
Shani-Swim
Excursionist
21 1 6

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

Shani-Swim
Excursionist
21 1 6

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

Shani-Swim
Excursionist
21 1 6

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

ShaniSwim_0-1724856521959.png

 

BSSCommerce-HDL
Shopify Partner
2305 835 907

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 😍

Sale banner, pop ups: Customize your sale banner, pop-ups and create countdown bar to boost conversion rate.
Simicart: Transform your Shopify store into a stunning and fully functional mobile app with just a few simple steps.
Product Labels & Badges:
Get more sales with striking labels, badges, and banners from our 10,000+ available templates.

BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now

BSSCommerce-HDL
Shopify Partner
2305 835 907

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 😍

 

Sale banner, pop ups: Customize your sale banner, pop-ups and create countdown bar to boost conversion rate.
Simicart: Transform your Shopify store into a stunning and fully functional mobile app with just a few simple steps.
Product Labels & Badges:
Get more sales with striking labels, badges, and banners from our 10,000+ available templates.

BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now

BSSCommerce-HDL
Shopify Partner
2305 835 907

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 😍

Sale banner, pop ups: Customize your sale banner, pop-ups and create countdown bar to boost conversion rate.
Simicart: Transform your Shopify store into a stunning and fully functional mobile app with just a few simple steps.
Product Labels & Badges:
Get more sales with striking labels, badges, and banners from our 10,000+ available templates.

BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now

BSSCommerce-HDL
Shopify Partner
2305 835 907

@Shani-Swim, Pls check this above code 

Sale banner, pop ups: Customize your sale banner, pop-ups and create countdown bar to boost conversion rate.
Simicart: Transform your Shopify store into a stunning and fully functional mobile app with just a few simple steps.
Product Labels & Badges:
Get more sales with striking labels, badges, and banners from our 10,000+ available templates.

BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now

Shani-Swim
Excursionist
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
2305 835 907

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 😍

Sale banner, pop ups: Customize your sale banner, pop-ups and create countdown bar to boost conversion rate.
Simicart: Transform your Shopify store into a stunning and fully functional mobile app with just a few simple steps.
Product Labels & Badges:
Get more sales with striking labels, badges, and banners from our 10,000+ available templates.

BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now

Shani-Swim
Excursionist
21 1 6

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

Shani-Swim
Excursionist
21 1 6

Worked like magic! thank you very much.