Read before updating: How to Update Kunena Templates - More detail

How to fix the hide category section issue on template use Bootstrap 4?

ntstore's Avatar Topic Author
Administrator Administrator
  • Posts: 1213
  • Thanks: 240

How to fix the hide category section issue on template use Bootstrap 4?

6 years 2 months ago - 6 years 2 months ago
#15766
You will see the hide category section issue on Kunena forum if your joomla template is base on Bootstrap 4. In this post I will guide you how to quick fix this issue on your site. It's very easy, please follow some below steps.

- Step 1: Open the default.php file in the "[root]/components/com_kunena/template/[current_kunena_template]/layouts/category/index/" path.

- Step 2: Jump to about line 68 or find below code line.
Code:
<div class="collapse in section <?php if (!empty($section->class)) : ?>section<?php echo $this->escape($section->class_sfx); ?><?php endif; ?> in collapse" id="section<?php echo $section->id; ?>">

- Step 3: Add the "show" class to above code line.
Code:
<div class="collapse in section <?php if (!empty($section->class)) : ?>section<?php echo $this->escape($section->class_sfx); ?><?php endif; ?> in collapse" id="section<?php echo $section->id; ?> show">

- Step 4: Save and reload your forum.

__End___
Hung Pham
Email: 9themestore@gmail.com
Twitter: @9themestore
Last edit: 6 years 2 months ago by ntstore.

Please Log in or Create an account to join the conversation.

Time to create page: 0.389 seconds