Shopify themes, liquid, logos, and UX
Theme: Debut
Hi all, can someone help me with this? I'm trying to change the font color to white and bold so it stand out more.
Any help appreciated! Thank you.
Solved! Go to the solution
This is an accepted solution.
Hi BigglyBoo,
Do you want to do this to all menu items or only some?
If you want to target only some menu items then you should find what you need in this thread: https://community.shopify.com/c/Technical-Q-A/Anyone-know-how-to-change-the-colour-of-one-title-SALE...
Note that I did try Bo's suggestion of adding <span> tags to the menu items but that doesn't seem to work for the Debut theme. If you want to take that approach you will need to edit your theme's 'header.liquid' file (Online store > Themes > Actions > Edit code > Sections > header.liquid) Within that file you will need to remove the 'escape' filter from all references to your menu items. For example {{ link.title | escape }} becomes {{ link.title }}, {{ childlink.title | escape }} becomes {{ childlink.title }}, {{ grandchildlink.title | escape }} becomes {{ grandchildlink.title }}. Alternatively, you could use the other approach that I suggested in that thread.
If instead you want to change all menu items you can add some css rules to the bottom of your 'theme.scss.liquid' file (Online store > Themes > Actions > Edit code > Assets > theme.scss.liquid):
.site-nav__link--active .site-nav__label { border-bottom-color: white; } .site-nav__link .site-nav__label { color: white; }
I would also suggest that instead of 'white' you use 'rgba(255,255,255,0.85)'. It will provide a slight bit of transparency to your text so that it sits better on the background colour.
Hope that helps!
Regards,
Tom
This is an accepted solution.
Hi @Yugen
Add this css in asset->theme.scss file
.site-nav li a {font-weight: 600;}
This is an accepted solution.
Hi BigglyBoo,
Do you want to do this to all menu items or only some?
If you want to target only some menu items then you should find what you need in this thread: https://community.shopify.com/c/Technical-Q-A/Anyone-know-how-to-change-the-colour-of-one-title-SALE...
Note that I did try Bo's suggestion of adding <span> tags to the menu items but that doesn't seem to work for the Debut theme. If you want to take that approach you will need to edit your theme's 'header.liquid' file (Online store > Themes > Actions > Edit code > Sections > header.liquid) Within that file you will need to remove the 'escape' filter from all references to your menu items. For example {{ link.title | escape }} becomes {{ link.title }}, {{ childlink.title | escape }} becomes {{ childlink.title }}, {{ grandchildlink.title | escape }} becomes {{ grandchildlink.title }}. Alternatively, you could use the other approach that I suggested in that thread.
If instead you want to change all menu items you can add some css rules to the bottom of your 'theme.scss.liquid' file (Online store > Themes > Actions > Edit code > Assets > theme.scss.liquid):
.site-nav__link--active .site-nav__label { border-bottom-color: white; } .site-nav__link .site-nav__label { color: white; }
I would also suggest that instead of 'white' you use 'rgba(255,255,255,0.85)'. It will provide a slight bit of transparency to your text so that it sits better on the background colour.
Hope that helps!
Regards,
Tom
This is an accepted solution.
@Jasoliya @LittleVentures Thanks guys, it worked!
@LittleVentures That's very interesting to know about changing the colour of one menu item. I'll save it for the future!
Works properly! thanks
Hi!
When I used the code to make the nav menu bold, it only made the normal menu items bold but not the ones that have drop down links. What do I do to make all of them bold?
I managed to sort the header navigation menu, but I'm struggling to do footer menu items.
I need INFORMATION and CUSTOMER CARE in the footer to be BOLD. But only those 2 headings.
Shop - raisedinacircus.com
Let me know if you can help
I tried this code on my debut theme and unfortunately it didnt work. If anyone knows how to make the main menu (Home, Shop All, etc.) in bold let me know. I want to keep the same color and the same font...I just want it to be bold so it stands out a little more.
1. Go to Online Store->Theme->Edit code
2. Asset->theme.scss->paste bellow code in bottom of file
.site-nav a,.site-nav__link--button {font-weight: bold;}
Easy to do. Works exactly as it should. Many thanks.
How do i Change the font colour of just the home page header and also the links on header for homepage
How do I make my menu font bold on the wharehouse theme.
Its lampstogo .myshopify.com
User | RANK |
---|---|
69 | |
65 | |
64 | |
53 | |
49 |
We're excited to announce improvements to the threaded messaging experience in our communi...
By TyW May 31, 2023Thank you to everyone who participated in our AMA with Klaviyo. It was great to see so man...
By Jacqui May 30, 2023Photo by Marco Verch Sales channels on Shopify are various platforms where you can sell...
By Ollie May 25, 2023