How can I change my mobile menu collection title color to red?

How can I change my mobile menu collection title color to red?

Dat999
Explorer
69 0 26

 Hi, I want to change the color of my collcection title „PROMOCJE” on the mobile menu to red. Could anyone help me out? Thank you in advance!!!

IMG_9622.jpeg

Replies 15 (15)

DigiDecoded
Shopify Partner
162 19 18

hey @Dat999 , can you please share the store url

Danish | Full Stack Developer @ Esire.Inc
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- Hire me for your next task! | Email | WhatsApp | Website
Dat999
Explorer
69 0 26

hi, sure thing. Connect these two together

 

if it's possible, I would want the colour to be changed on the desktop view and on the mobile view. Thanks!!!

DigiDecoded
Shopify Partner
162 19 18

the url is not working

Danish | Full Stack Developer @ Esire.Inc
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- Hire me for your next task! | Email | WhatsApp | Website
Dat999
Explorer
69 0 26
Dat999
Explorer
69 0 26

Made4uo-Ribe
Shopify Partner
9870 2351 2947

Hi @DigiDecoded 

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: 749px){
a#HeaderDrawer-promocja {
    color: red;
}
}

 

And Save. 

Result:

Made4uoRibe_0-1707682379937.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.
Dat999
Explorer
69 0 26

hi, is there any code that makes it red both on the desktop view and the mobile view?

 

Made4uo-Ribe
Shopify Partner
9870 2351 2947

Check this one again. 

 

a#HeaderMenu-promocja {
    color: red !important;
}

 

And Save. 

 

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.
Dat999
Explorer
69 0 26

It works on the desktop view, but not the mobile view.

Made4uo-Ribe
Shopify Partner
9870 2351 2947

oh, i thoughr they have same codes. replace on this one. 

 

a#HeaderMenu-promocja, a#HeaderDrawer-promocja {
    color: red !important;
}

 

And Save. 

 

 

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.
Dat999
Explorer
69 0 26

still not working on the mobile view. 😞

Dat999_0-1707686937257.png

 

Made4uo-Ribe
Shopify Partner
9870 2351 2947

Add this one.

Add dont replace. 

 

@media only screen and (max-width: 749px){
a#HeaderDrawer-promocja {
    color: red !important;
}
}

 

And Save. 

 

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.
Dat999
Explorer
69 0 26

it didn't work

DigiDecoded
Shopify Partner
162 19 18

are you still looking for the solution?

 

Danish | Full Stack Developer @ Esire.Inc
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- Hire me for your next task! | Email | WhatsApp | Website
DigiDecoded
Shopify Partner
162 19 18

#menu-drawer > div > div > nav > ul > li:nth-child(1) a {
    color: red;
}

Paste this code next to the previous one.


Danish | Full Stack Developer @ Esire.Inc
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- Hire me for your next task! | Email | WhatsApp | Website