How can I add dropdown arrows to the Stockholm theme on mobile?

Solved

How can I add dropdown arrows to the Stockholm theme on mobile?

zimey
Tourist
19 0 2

Look at my screensshots, how do i add dropdown arrows in my theme "stockholm"? 

Screenshot 2024-03-14 at 14.15.50.png

 Desktop

Screenshot 2024-03-14 at 14.16.22.png

 Mobile

My store url: https://guldklippet-se.myshopify.com/


Thanks in advance!
Simon.

Accepted Solutions (2)

ThePrimeWeb
Shopify Partner
2139 616 529

This is an accepted solution.

Hey @zimey,

 

Go to your theme's "Edit Code" Option, then in the search bar type "theme.liquid"
Below the tag "<head>" tag paste the following. Screenshot attached for reference.

<style>
.menu-drawer__account-register > span {
    display: none !important;
}
</style>

 

Screenshot is for reference only, the correct code to paste is the one shown above.

ThePrimeWeb_0-1710424852188.jpeg

 

Was I helpful?

Buy me a coffee

🙂

Need help with your store? contact@theprimeweb.com or check out the website
Check out our interview with Shopify!

View solution in original post

ThePrimeWeb
Shopify Partner
2139 616 529

This is an accepted solution.

You removed the previous code. You have to add it back. I mentioned earlier to leave it....

 

I'm not getting the code from anywhere, I'm writing it in realtime

Was I helpful?

Buy me a coffee

🙂

Need help with your store? contact@theprimeweb.com or check out the website
Check out our interview with Shopify!

View solution in original post

Replies 8 (8)

ThePrimeWeb
Shopify Partner
2139 616 529

This is an accepted solution.

Hey @zimey,

 

Go to your theme's "Edit Code" Option, then in the search bar type "theme.liquid"
Below the tag "<head>" tag paste the following. Screenshot attached for reference.

<style>
.menu-drawer__account-register > span {
    display: none !important;
}
</style>

 

Screenshot is for reference only, the correct code to paste is the one shown above.

ThePrimeWeb_0-1710424852188.jpeg

 

Was I helpful?

Buy me a coffee

🙂

Need help with your store? contact@theprimeweb.com or check out the website
Check out our interview with Shopify!
zimey
Tourist
19 0 2

Thank you it worked!!!

Could you help me with this aswell?

Screenshot 2024-03-14 at 16.53.04.png

Desktop background is black while mobile is white

Screenshot 2024-03-14 at 16.53.26.png

 

Thank you!

ThePrimeWeb
Shopify Partner
2139 616 529

Hey @zimey,

 

Same steps as above, just paste this below the <head> tag. Don't remove the previous code.

 

<style>
@media only screen and (max-width: 1199px) {
    div#menu-drawer {
        background-color: rgb(33, 28, 28) !important;
    }
    
    div#menu-drawer * {
        color: rgba(255,255,255, 0.75) !important;
    }
    
    a.button.menu-drawer__account.link.focus-inset {
        background-color: rgba(255,255,255, 0.75) !important;
        color: rgb(33, 28, 28) !important;
    }
    
    div#menu-drawer svg:not(a.button.menu-drawer__account.link.focus-inset svg),
    div#menu-drawer svg:not(a.button.menu-drawer__account.link.focus-inset svg) path {
        fill: rgba(255,255,255, 0.75) !important;    
    }
    
    a.button.menu-drawer__account.link.focus-inset svg,
    a.button.menu-drawer__account.link.focus-inset svg path {
        color: rgb(33, 28, 28) !important;
    }
    
    .menu-drawer__menu-item {
        border-bottom: 1px solid rgba(255,255,255, 0.75) !important;
    }
}
</style>
Was I helpful?

Buy me a coffee

🙂

Need help with your store? contact@theprimeweb.com or check out the website
Check out our interview with Shopify!
zimey
Tourist
19 0 2

Screenshot 2024-03-15 at 09.17.09.png

 The menu turned all black and drop down all white, so we are getting close... do you see what went wrong in the code?
Thank you!

ThePrimeWeb
Shopify Partner
2139 616 529

Yeah nothing wrong there, I just missed the inner menu.

 

Add this code as well, same instructions. Don't delete the rest, they are working.

 

<style>
.menu-drawer__inner-submenu {
  background-color: rgb(33, 28, 28) !important
}
</style>
Was I helpful?

Buy me a coffee

🙂

Need help with your store? contact@theprimeweb.com or check out the website
Check out our interview with Shopify!
zimey
Tourist
19 0 2

We are getting close my friend!!

Screenshot 2024-03-15 at 09.31.40.png

can you get the text white aswell as the lines inbetween? 
is there any place i can find the code or do you just know?
Thank you primeweb!

ThePrimeWeb
Shopify Partner
2139 616 529

This is an accepted solution.

You removed the previous code. You have to add it back. I mentioned earlier to leave it....

 

I'm not getting the code from anywhere, I'm writing it in realtime

Was I helpful?

Buy me a coffee

🙂

Need help with your store? contact@theprimeweb.com or check out the website
Check out our interview with Shopify!
zimey
Tourist
19 0 2

Thank you!!