0

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?

1 Answer 1

0

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

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.