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

  • ntstore
  • ntstore's Avatar Away Topic Author
  • Administrator
  • Administrator
  • Thanks: 238
  • Posts: 1209
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:5 years 9 months ago Post by ntstore
Last edit: 5 years 9 months ago by ntstore.

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

Time to create page: 0.661 seconds