New Shopify Certification now available: Liquid Storefronts for Theme Developers

Custom CSS in Header now working on Mobile Menu.

Solved
Aidenma23
Tourist
7 0 3

.menu-promotion__title {
margin-bottom: 0px;
}
.navigation__link.navigation__column-title.heading-font {
color: red;
}

Works on the header on the website, but on mobile on the side menu, nothing is effecting it. I'm on the mode theme.

Accepted Solution (1)
Made4uo-Ribe
Shopify Partner
4192 964 1173

This is an accepted solution.

Thanks for the info, it would be different code cause its a drawer menu. 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:

 

div#MobileNavigationDrawer ul.navigation__tier-1, a.mobile-nav-toggle.tap-target {
    color: #e93324;
}

 

  • And Save. 
  • Result:
  • Made4uoRibe_0-1700342817176.png
  • If it doesnt work, add !important. 

 

div#MobileNavigationDrawer ul.navigation__tier-1, a.mobile-nav-toggle.tap-target {
    color: #e93324 !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


View solution in original post

Replies 7 (7)
Made4uo-Ribe
Shopify Partner
4192 964 1173

Hi @Aidenma23 

You need to add media query. If you would not mind can I take a look? And share your store URL. 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


Aidenma23
Tourist
7 0 3

The site is not live yet. This is the preview I think. 
https://solarproslocker.com/?_ab=0&_fd=0&_sc=1

Made4uo-Ribe
Shopify Partner
4192 964 1173

This is an accepted solution.

Thanks for the info, it would be different code cause its a drawer menu. 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:

 

div#MobileNavigationDrawer ul.navigation__tier-1, a.mobile-nav-toggle.tap-target {
    color: #e93324;
}

 

  • And Save. 
  • Result:
  • Made4uoRibe_0-1700342817176.png
  • If it doesnt work, add !important. 

 

div#MobileNavigationDrawer ul.navigation__tier-1, a.mobile-nav-toggle.tap-target {
    color: #e93324 !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


Aidenma23
Tourist
7 0 3

Thank you so much! I'm also trying to make the image in the mobile headers larger, any change you could help with that? 

Made4uo-Ribe
Shopify Partner
4192 964 1173

Yes sure, only in the desktop? if it is try this one. 

Same Instruction.

 

@media (min-width: 768px){
.navigation--desktop {
    font-size: 25px;
}
}

 

If its not working add some !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


Aidenma23
Tourist
7 0 3

I want to make the promotion card images larger only on mobile, not the text on desktop.

Aidenma23
Tourist
7 0 3

I've tried adding a media inqury:

@media and (max-width: 768px) {

But it doesn't work. Possibly I am doing it wrong?