[Skip to main content](#vessel-content)

#   Problem with sub category display

##

- **[hannsrifts](/forum/user/15068-hannsrifts "View hannsrifts's Profile")**
- [![hannsrifts's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/15068-hannsrifts "View hannsrifts's Profile") Topic Author
- [ Offline](/forum/user/15068-hannsrifts)

Less More

- Posts: 12
- Thank you received: 1
-
-

13 years 5 months ago [\#103771](#103771) by [hannsrifts](/forum/user/15068-hannsrifts "View hannsrifts's Profile")  *[Problem with sub category display](/forum/4-how-to/81810-problem-with-sub-category-display#103771 "I have a small problem with sub category display on our website.  The module is set to display all sub categories, but the listing puts some of the categories together on one line. Only those with short names are affected.  The site url is   www.hannsaquatica.co.uk  On the Shop Categories menu under Fish, the first line shows CatfishLake Malawi Haps. Catfish and Lake Malawi Haps are 2 sub categories. Similarly with Loaches and Plecs at the bottom of the categories.  Is this problem being caused by Hikashop or my template? Any pointers on how to solve it?")* was created by *[hannsrifts](/forum/user/15068-hannsrifts "View hannsrifts's Profile")*

I have a small problem with sub category display on our website.

The module is set to display all sub categories, but the listing puts some of the categories together on one line. Only those with short names are affected.

The site url is [ www.hannsaquatica.co.uk](http://www.hannsaquatica.co.uk)

On the Shop Categories menu under Fish, the first line shows CatfishLake Malawi Haps. Catfish and Lake Malawi Haps are 2 sub categories. Similarly with Loaches and Plecs at the bottom of the categories.

Is this problem being caused by Hikashop or my template? Any pointers on how to solve it?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzgxODEwLXByb2JsZW0td2l0aC1zdWItY2F0ZWdvcnktZGlzcGxheT90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86322
- Thank you received: 14281
-
-

13 years 5 months ago [\#103806](#103806) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Problem with sub category display](/forum/4-how-to/81810-problem-with-sub-category-display#103806 "I have a small problem with sub category display on our website.  The module is set to display all sub categories, but the listing puts some of the categories together on one line. Only those with short names are affected.  The site url is   www.hannsaquatica.co.uk  On the Shop Categories menu under Fish, the first line shows CatfishLake Malawi Haps. Catfish and Lake Malawi Haps are 2 sub categories. Similarly with Loaches and Plecs at the bottom of the categories.  Is this problem being caused by Hikashop or my template? Any pointers on how to solve it?")*

Hi,

It's just a CSS issue. You can add the CSS below on your website to avoid that:
.hikashop_category_list_item, .hikashop_product_list_item {
float: none !important;
}

The following user(s) said Thank You: [hannsrifts](/forum/user/15068-hannsrifts "View hannsrifts's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzgxODEwLXByb2JsZW0td2l0aC1zdWItY2F0ZWdvcnktZGlzcGxheT90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

- **[hannsrifts](/forum/user/15068-hannsrifts "View hannsrifts's Profile")**
- [![hannsrifts's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/15068-hannsrifts "View hannsrifts's Profile") Topic Author
- [ Offline](/forum/user/15068-hannsrifts)

Less More

- Posts: 12
- Thank you received: 1
-
-

13 years 5 months ago [\#103811](#103811) by [hannsrifts](/forum/user/15068-hannsrifts "View hannsrifts's Profile")  Replied by *[hannsrifts](/forum/user/15068-hannsrifts "View hannsrifts's Profile")* on topic *[Problem with sub category display](/forum/4-how-to/81810-problem-with-sub-category-display#103811 "I have a small problem with sub category display on our website.  The module is set to display all sub categories, but the listing puts some of the categories together on one line. Only those with short names are affected.  The site url is   www.hannsaquatica.co.uk  On the Shop Categories menu under Fish, the first line shows CatfishLake Malawi Haps. Catfish and Lake Malawi Haps are 2 sub categories. Similarly with Loaches and Plecs at the bottom of the categories.  Is this problem being caused by Hikashop or my template? Any pointers on how to solve it?")*

Thanks Nicolas.

1 more question if you don't mind. I'd like to show the main categories and then have them expand on click to show the sub categories, without changing what happens in the main window.

At present, I can have the sub categories showing by default or just the main categories, but when trying to expand the Fish category it expands to show the sub menu and also links to the category listing.

I'm sure this is just the removal of the link code from a Hikashop view, but would welcome any guidance you can offer!

Many thanks again.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzgxODEwLXByb2JsZW0td2l0aC1zdWItY2F0ZWdvcnktZGlzcGxheT90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86322
- Thank you received: 14281
-
-

13 years 5 months ago [\#103852](#103852) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Problem with sub category display](/forum/4-how-to/81810-problem-with-sub-category-display#103852 "I have a small problem with sub category display on our website.  The module is set to display all sub categories, but the listing puts some of the categories together on one line. Only those with short names are affected.  The site url is   www.hannsaquatica.co.uk  On the Shop Categories menu under Fish, the first line shows CatfishLake Malawi Haps. Catfish and Lake Malawi Haps are 2 sub categories. Similarly with Loaches and Plecs at the bottom of the categories.  Is this problem being caused by Hikashop or my template? Any pointers on how to solve it?")*

Hi,

You can simply turn off the HikaShop option "link on main categories" of your module in order to do that.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzgxODEwLXByb2JsZW0td2l0aC1zdWItY2F0ZWdvcnktZGlzcGxheT90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

- **[hannsrifts](/forum/user/15068-hannsrifts "View hannsrifts's Profile")**
- [![hannsrifts's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/15068-hannsrifts "View hannsrifts's Profile") Topic Author
- [ Offline](/forum/user/15068-hannsrifts)

Less More

- Posts: 12
- Thank you received: 1
-
-

13 years 5 months ago -  13 years 5 months ago [\#103879](#103879) by [hannsrifts](/forum/user/15068-hannsrifts "View hannsrifts's Profile")  Replied by *[hannsrifts](/forum/user/15068-hannsrifts "View hannsrifts's Profile")* on topic *[Problem with sub category display](/forum/4-how-to/81810-problem-with-sub-category-display#103879 "I have a small problem with sub category display on our website.  The module is set to display all sub categories, but the listing puts some of the categories together on one line. Only those with short names are affected.  The site url is   www.hannsaquatica.co.uk  On the Shop Categories menu under Fish, the first line shows CatfishLake Malawi Haps. Catfish and Lake Malawi Haps are 2 sub categories. Similarly with Loaches and Plecs at the bottom of the categories.  Is this problem being caused by Hikashop or my template? Any pointers on how to solve it?")*

Yes, that does work, but it also stops the other categories from displaying content!

At present, we have 6 categories and only the Fish category has sub-categories. This is the category that we want to expand on click to show the sub categories, without changing the main display.

Is there a way of doing this, or do I need to turn off the "link on main categories" and create sub categories for the 5 other main categories?

**UPDATE**

I have just noticed that if you click on the blank area to the right of the text, the sub categories appear and the display doesn't change. It's only if you click on the text "Fish" that the hyperlink takes effect and changed the main display.

Last edit: 13 years 5 months ago by [hannsrifts](/forum/user/15068-hannsrifts "View hannsrifts's Profile"). Reason: Update query

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzgxODEwLXByb2JsZW0td2l0aC1zdWItY2F0ZWdvcnktZGlzcGxheT90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

13 years 5 months ago [\#104054](#104054) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Problem with sub category display](/forum/4-how-to/81810-problem-with-sub-category-display#104054 "I have a small problem with sub category display on our website.  The module is set to display all sub categories, but the listing puts some of the categories together on one line. Only those with short names are affected.  The site url is   www.hannsaquatica.co.uk  On the Shop Categories menu under Fish, the first line shows CatfishLake Malawi Haps. Catfish and Lake Malawi Haps are 2 sub categories. Similarly with Loaches and Plecs at the bottom of the categories.  Is this problem being caused by Hikashop or my template? Any pointers on how to solve it?")*

Hi,

Yes by default, there is a "+" icon on the right side of the category name. So clicking on it display just the sub categories in the listing without reloading the page.

If you want to remove the link on the name for the categories having sub-elements, you have to edit the view "category / listing_list", it require custom code.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzgxODEwLXByb2JsZW0td2l0aC1zdWItY2F0ZWdvcnktZGlzcGxheT90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.068 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
