collection title color on mobile menu

Dat999
Explorer
59 0 24

 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
118 18 24

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
59 0 24

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
118 18 24

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
59 0 24
Dat999
Explorer
59 0 24

Made4uo-Ribe
Shopify Partner
5119 1220 1493

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!

Please don't forget to 

Like

 and 

Mark Solution 

to the post that helped you. Thanks!
Sip, savor, and support – your

Coffee Tip

 helps us keep coding magic.❤️❤️❤️
Need a knowledgeable developer? Come and visit us at

Made4uo.com


Dat999
Explorer
59 0 24

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

 

Made4uo-Ribe
Shopify Partner
5119 1220 1493

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!

Please don't forget to 

Like

 and 

Mark Solution 

to the post that helped you. Thanks!
Sip, savor, and support – your

Coffee Tip

 helps us keep coding magic.❤️❤️❤️
Need a knowledgeable developer? Come and visit us at

Made4uo.com


Dat999
Explorer
59 0 24

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

Made4uo-Ribe
Shopify Partner
5119 1220 1493

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!

Please don't forget to 

Like

 and 

Mark Solution 

to the post that helped you. Thanks!
Sip, savor, and support – your

Coffee Tip

 helps us keep coding magic.❤️❤️❤️
Need a knowledgeable developer? Come and visit us at

Made4uo.com


Dat999
Explorer
59 0 24

still not working on the mobile view. 😞

Dat999_0-1707686937257.png

 

Made4uo-Ribe
Shopify Partner
5119 1220 1493

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!

Please don't forget to 

Like

 and 

Mark Solution 

to the post that helped you. Thanks!
Sip, savor, and support – your

Coffee Tip

 helps us keep coding magic.❤️❤️❤️
Need a knowledgeable developer? Come and visit us at

Made4uo.com


Dat999
Explorer
59 0 24

it didn't work

DigiDecoded
Shopify Partner
118 18 24

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
118 18 24

#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