How can I change the main menu color to black and white?

Solved

How can I change the main menu color to black and white?

Emiway
Trailblazer
263 0 50

I want to change colour of main menu to black background and white text

My URL https://houseofsneakers.in/

Screenshot_2023-12-30-00-31-37-01_40deb401b9ffe8e1df2f1cc5ba480b12.jpg

Accepted Solution (1)

Made4uo-Ribe
Shopify Partner
9841 2339 2931

This is an accepted solution.

Hi @Emiway 

Check this one. 

From your Shopify admin dashboard, click on "Online Store" and then "Themes".

Find the theme that you want to edit and click on "Actions" and then "Edit code".

In the "Assets" folder, click on "base.css, style.css or theme.css" file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:

 

@media only screen and (max-width: 1199px){
mobile-navigation#mobile-menu-drawer, .drawer__header.drawer__header--shadowed  {
    background: black !important;
}
mobile-navigation#mobile-menu-drawer * {
    color: white !important;
}
.mobile-nav__item:not(:last-child) {
    border-color: white !important;
}
}

 

And Save. 

Result:

Made4uoRibe_0-1703878668212.png

 

 

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.

View solution in original post

Replies 3 (3)

Made4uo-Ribe
Shopify Partner
9841 2339 2931

This is an accepted solution.

Hi @Emiway 

Check this one. 

From your Shopify admin dashboard, click on "Online Store" and then "Themes".

Find the theme that you want to edit and click on "Actions" and then "Edit code".

In the "Assets" folder, click on "base.css, style.css or theme.css" file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:

 

@media only screen and (max-width: 1199px){
mobile-navigation#mobile-menu-drawer, .drawer__header.drawer__header--shadowed  {
    background: black !important;
}
mobile-navigation#mobile-menu-drawer * {
    color: white !important;
}
.mobile-nav__item:not(:last-child) {
    border-color: white !important;
}
}

 

And Save. 

Result:

Made4uoRibe_0-1703878668212.png

 

 

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.
Emiway
Trailblazer
263 0 50

Screenshot_2023-12-30-01-12-08-89_40deb401b9ffe8e1df2f1cc5ba480b12.jpg

Also want this all text in Max 2 lines

Made4uo-Ribe
Shopify Partner
9841 2339 2931

Please dont forget to likes also.

What I can do for the lines are decrease the letter spacing. 

Check this one. Same instruction.

 

@media only screen and (max-width: 1199px){
.product-item__info {
    letter-spacing: -.5px;
}
}

 

And Save. 

Some may not be on the 2 lines it is because of the titles you put on the product. You need to lesser it in order to fitted 2lines. 

 

 

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.