Add button in the "SHOP" menu ( Shopify Dawn Theme )

Solved

Add button in the "SHOP" menu ( Shopify Dawn Theme )

dreamtechzone_5
Shopify Partner
333 1 46

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

 

Screenshot 2024-09-19 212751.png

Accepted Solutions (2)
BSS-TekLabs
Shopify Partner
2350 702 827

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 

BSSTekLabs_0-1726760905302.png

 

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


BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now

View solution in original post

Made4uo-Ribe
Shopify Partner
8278 1987 2439

This is an accepted solution.

Hi @dreamtechzone_5 

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:

Made4uoRibe_0-1726762084658.png

 

 

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.
Need THEME UPDATES but has custom codes? No worries, contact us for affordable price.

View solution in original post

Replies 6 (6)

BSS-TekLabs
Shopify Partner
2350 702 827

- 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:

BSSTekLabs_0-1726760808259.png

 

- 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


BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now
BSS-TekLabs
Shopify Partner
2350 702 827

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 

BSSTekLabs_0-1726760905302.png

 

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


BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now
dreamtechzone_5
Shopify Partner
333 1 46

It worked. Thank you very much. But when I add collection under "SHOP" the button doesn't show.

Made4uo-Ribe
Shopify Partner
8278 1987 2439

This is an accepted solution.

Hi @dreamtechzone_5 

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:

Made4uoRibe_0-1726762084658.png

 

 

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.
Need THEME UPDATES but has custom codes? No worries, contact us for affordable price.
dreamtechzone_5
Shopify Partner
333 1 46

Great. It worked. 

The top and bottom width of the button can be reduced a bit?

dreamtechzone_5
Shopify Partner
333 1 46

Hello Sir!

When I click on "SHOP" menu the "SHOP" menu text color changes. I would like to keep it white.

 

Screenshot 2024-09-20 223428.png