Shopify themes, liquid, logos, and UX
Hi!,
I noticed my mobile hamburger menu color is mixed colors. I would like to change the pink color to match the purple in the rest of the menu?
Any suggestions for how I could do this?
Any help is greatly appreciated!
Thanks
Solved! Go to the solution
This is an accepted solution.
@ThePrimeWeb Try adding below css to your css file.
@media screen and (max-width: 480px){
.menu-drawer__menu-item--active,
.menu-drawer__menu-item:focus,
.menu-drawer__close-button:focus,
.menu-drawer__menu-item:hover,
.menu-drawer__close-button:hover,
.menu-drawer__utility-links{
background-color: rgb(222, 210, 241) !important;
}
}
Hey @StellarFae,
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>
@media screen and (max-width: 480px) {
.menu-drawer__menu-item--active,
.menu-drawer__menu-item:focus,
.menu-drawer__close-button:focus,
.menu-drawer__menu-item:hover,
.menu-drawer__close-button:hover,
.menu-drawer__utility-links{
background-color: rgb(222, 210, 241) !important;
}
}
</style>
Screenshot is for reference only, the correct code to paste is the one shown above.
This is an accepted solution.
@ThePrimeWeb Try adding below css to your css file.
@media screen and (max-width: 480px){
.menu-drawer__menu-item--active,
.menu-drawer__menu-item:focus,
.menu-drawer__close-button:focus,
.menu-drawer__menu-item:hover,
.menu-drawer__close-button:hover,
.menu-drawer__utility-links{
background-color: rgb(222, 210, 241) !important;
}
}
Thank you! This worked to change both of the sections that were pink.
Thank you for your help! This did change the HOME section to the correct color but did not change the bottom section that was also pink. Someone else also commented with a solution that worked so it's all fixed now. I appreciate you taking the time to look at it and help me. 🙂
Well it's literally the same code, but whatever works haha.
By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024