Paneslider issue

  • Posts: 6
  • Thank you received: 0
11 years 9 months ago #86731

Hi,
I made 2 different content module containing a listing of some specific categories, and it's being shown as an accordion menu.

My issue is the subcategories by default is shown. And I need to click on the "toggler-div" to hide/close it again.

How can I change the default setting, so the subcategories is by default hidden?

I've attached a screenshot of how the menu is by default.

Attachments:

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

  • Posts: 13201
  • Thank you received: 2322
11 years 9 months ago #86798

Hi,

Try to edit the view "product / listing_list" in HikaShop > Display > Views and remove the class "active" in the lines "$class=' current active';"

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

  • Posts: 6
  • Thank you received: 0
11 years 9 months ago #86887

Which line is this? Can't find it anywhere in "product / listing_list" .

Did find it in "category / listing_list" though. And removing it from there did not do anything.

This is the code when I check the source in my browser.

<div class="panel">
<h3 class="title pane-toggler-down" id="category_pane_0">
<a href="javascript:void(0);"><span></span></a>
<a href="/anvendelse-type/category/12-anvendelse-type">Anvendelse/type</a>
</h3>
<div class="pane-slider content pane-down" style="padding-top: 0px; border-top-style: none; padding-bottom: 0px; border-bottom-style: none; overflow: hidden; height: auto;">
<ul class="hikashop_category_list">								
<li class="hikashop_category_list_item">
<a class="hikashop_category_list_item_link" href="/anvendelse-type/category/13-vaegfliser">Vægfliser</a>
</li>
<li class="hikashop_category_list_item">
<a class="hikashop_category_list_item_link" href="/anvendelse-type/category/14-gulv-og-vaegfliser">Gulv- og vægfliser</a>
</li>
<li class="hikashop_category_list_item">
<a class="hikashop_category_list_item_link" href="/anvendelse-type/category/15-gennemfarvet">Gennemfarvet</a>
</li>
</ul>
</div>
</div>

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

  • Posts: 2334
  • Thank you received: 403
11 years 9 months ago #86963

Hi there,

If you search for listing_list in the views page you should find the one attached to product.

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

  • Posts: 6
  • Thank you received: 0
11 years 9 months ago #86982

I found the view, but I cant find the line "$class=' current active';" that you are referring to.

Here's a link to the testsite, so you can see what my issue is: bit.ly/Y0OsKA

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

  • Posts: 13201
  • Thank you received: 2322
11 years 9 months ago #87071

Try to change the option "Show sub categories" in the module configuration page to "No child".

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

  • Posts: 6
  • Thank you received: 0
11 years 9 months ago #87072

Great, but I still want the accordion functionality. I don't want it to dropdown on page-load.
What I want is it to dropdown/toggle only when I click on the 1st level on the menu.

I hope I'm making sense :)

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

  • Posts: 13201
  • Thank you received: 2322
11 years 9 months ago #87134

So try to remove the class "pane-toggler-down".

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

Time to create page: 0.087 seconds
Powered by Kunena Forum