Shopify themes, liquid, logos, and UX
Hello Everyone!
I am using Shopify Dawn Theme. How do I add a button to the "SHOP" menu? I have added an image below. I want to keep it exactly like this. Please help me. Thank you.
Store: https://delicious-fruits-vegetables.myshopify.com/
Password: Admin
Solved! Go to the solution
This is an accepted solution.
<style>
a#HeaderMenu-shop {
background: #DFAEA5 !important;
color: white !important;
border-radius: 5px !important;
line-height: 6px !important;
}
#HeaderMenu-shop span {
font-weight: 800 !important;
}
ul.list-menu.list-menu--inline {
align-items: center !important;
}
</style>
Or this code if you want like this
If our suggestions are useful, please let us know by giving it a like or marking it as a solution.
Salepify: Efficiently increase sales conversion with sale-driven features like auto add to cart, free gifts (free plan available)
Salemate: Boost your AVO with 2-layer offer, countdown upsell in your post purchase page
This is an accepted solution.
We can do like this, check this one.
From you Admin page, go to Online Store > Themes
Select the theme you want to edit
Under the Asset folder, open the main.css(base.css, style.css or theme.css)
Then place the code below at the very bottom of the file.
a#HeaderMenu-shop {
background: #5fa800;
color: white;
border-radius: 10px;
padding: 1rem 1.2rem;
}
And Save.
Result:
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
- Here is the solution for you @dreamtechzone_5
- Please follow these steps:
1. Go to Online Store --> Theme --> Edit code.
2. Open your theme.liquid file
3. In theme.liquid, paste the below code before </head> and press 'Save' to save it
<style>
a#HeaderMenu-shop {
background: red !important;
color: white !important;
border-radius: 5px !important;
line-height: 12px !important;
}
#HeaderMenu-shop span {
font-weight: 800 !important;
}
ul.list-menu.list-menu--inline {
align-items: center !important;
}
</style>
- Here is the result you will achieve:
- Please press 'Like' and mark it as 'Solution' if you find it helpful. Thank you.
If our suggestions are useful, please let us know by giving it a like or marking it as a solution.
Salepify: Efficiently increase sales conversion with sale-driven features like auto add to cart, free gifts (free plan available)
Salemate: Boost your AVO with 2-layer offer, countdown upsell in your post purchase page
This is an accepted solution.
<style>
a#HeaderMenu-shop {
background: #DFAEA5 !important;
color: white !important;
border-radius: 5px !important;
line-height: 6px !important;
}
#HeaderMenu-shop span {
font-weight: 800 !important;
}
ul.list-menu.list-menu--inline {
align-items: center !important;
}
</style>
Or this code if you want like this
If our suggestions are useful, please let us know by giving it a like or marking it as a solution.
Salepify: Efficiently increase sales conversion with sale-driven features like auto add to cart, free gifts (free plan available)
Salemate: Boost your AVO with 2-layer offer, countdown upsell in your post purchase page
It worked. Thank you very much. But when I add collection under "SHOP" the button doesn't show.
This is an accepted solution.
We can do like this, check this one.
From you Admin page, go to Online Store > Themes
Select the theme you want to edit
Under the Asset folder, open the main.css(base.css, style.css or theme.css)
Then place the code below at the very bottom of the file.
a#HeaderMenu-shop {
background: #5fa800;
color: white;
border-radius: 10px;
padding: 1rem 1.2rem;
}
And Save.
Result:
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
Great. It worked.
The top and bottom width of the button can be reduced a bit?
Hello Sir!
When I click on "SHOP" menu the "SHOP" menu text color changes. I would like to keep it white.
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By 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, 2024