i would like to add a pill shaped button to the navigation, orange #E1AA4F button with white writing that says Fun Stuff.
i would like it in the custom css section so that when i need to update my store, it will stay in place
pass: daplau
i would like to add a pill shaped button to the navigation, orange #E1AA4F button with white writing that says Fun Stuff.
i would like it in the custom css section so that when i need to update my store, it will stay in place
pass: daplau
Hi @Chantelrudden
Add below CSS to styles-base.css
.site-header__link-copy.motion-reduce:hover {
background-color: #e1aa4f;
padding: 10px;
border-radius: 20px;
color: #fff;
}
Hi @Chantelrudden ,
You can add a button in the navigation bar by adding a navication item from “Online Store > Navigation”. Once you add “Fun Stuff”, please let me know and i will provide a custom CSS to make them orange #E1AA4F button with white writing
done, changed it to sign up
Follow these Steps:
Result:
If you require further help to optimize your store, please don’t hesitate to reach out. If you find this information useful, a Like would be greatly appreciated. And if this solves the problem, please Mark it as Solution!
Best Regards,
Makka
Hey there! I’m trying your code, but using the Debut theme. Which I’m currently upgrading to Shopify 2.0 via a github theme update.
I previously updated it in my theme at some point, but can’t seem to find where the code is a did a few years back.
I updated to the following code:
span.site-nav__label {
font-weight: 600;
font-size: 22px;
}
span.site-nav__label:last-child {
background-color: #e1aa4f;
border-radius: 20px;
color: #fff!important;
padding: 0px 10px;
}
span.site-nav__label:last-child a {
color: #fff!important;
}
span.site-nav__label:last-child .site-header__link-copy:after{
content: unset;
}
But it’s appearing like the attached.