On my site www.uitverkoop.tips you see a top navigation and side bar navigation. I want to have more categories, but then the top navigation uses to lines. So I want to reduce the size so that more categories can fit on the top navigation. But how and where can i make this change? I checked default.xml but i cant change it there.

Can some one help me?


The actual font size is 14px. add below code in your theme to make it 13px

.navigation > .ui-menu > li > a span {
    font-size: 13px;

Check below screen shot, I've added extra category called "Hello World" and it fits into 1 line.

enter image description here

  • In which file do i need to add it? – Anushka27 Dec 18 '18 at 21:20
  • app/design/frontend/Sm/himarket/Magento_Theme/web/css/yttheme.css – Abhishek Panchal Dec 18 '18 at 21:22
  • Will do it in the morning. Thanks for your help. – Anushka27 Dec 18 '18 at 21:23
  • Can you Tell me how you added a extra categorie on my site? – Anushka27 Dec 19 '18 at 8:56
  • yttheme.css is not in the path you provided. So I can't make changes – Anushka27 Dec 19 '18 at 14:00

Your Answer

By clicking "Post Your Answer", you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.