This topic contains a post which is marked as Best Answer. Press here if you would like to see it.
*

piter

  • ****
  • 104 posts
Main menu with categories - how to add more categories?
« on: January 23, 2019, 02:25:57 AM »
HI
The main menu with categories sellection shows 10 boxes only. Even if more categories is defined in admin panel only last 10 appear on the menu - other are hidden.

I need that 14 categories would be shown.

How to make the main menu display two rows one under the other, with 7 categories on each row?

*

MB Themes

Re: Main menu with categories - how to add more categories?
« Reply #1 on: January 23, 2019, 08:57:55 AM »
Based on how box is designed, maximum is 10 categories that can be shown at home.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Yuri

  • ****
  • 105 posts
  • Yriu
Re: Main menu with categories - how to add more categories?
« Reply #2 on: January 23, 2019, 02:24:31 PM »
?????????
The world is not without good people.

*

piter

  • ****
  • 104 posts
Re: Main menu with categories - how to add more categories?
« Reply #3 on: January 23, 2019, 10:04:27 PM »
This is how I need it. Menu with second row for more categories.



Marked as best answer by piter on January 25, 2019, 06:05:49 PM
*

MB Themes

Re: Main menu with categories - how to add more categories?
« Reply #4 on: January 25, 2019, 08:03:59 AM »
In file:
oc-content/themes/patricia/main.php

Find:
Code: [Select]
<li <?php if($i 10) { ?>style="display:none;"<?php ?>>
and change here number 10 to whatever number you want. I.e. if there is 10, it means 11th and later category is hidden.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

piter

  • ****
  • 104 posts
Re: Main menu with categories - how to add more categories?
« Reply #5 on: January 25, 2019, 06:11:42 PM »
... its done now :-), thanks MB Themes for your help.

 With a bit of css and google font-awesome changing I achieved what I wanted - 2 row menu / 8 categories per row with individual icons for each category