Skip to main content

Paneslider issue

13 years 9 months ago #86731 by Skiptomylou
Paneslider issue was created by Skiptomylou
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.

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

13 years 9 months ago #86798 by Xavier
Replied by Xavier on topic Paneslider issue
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.

13 years 9 months ago #86887 by Skiptomylou
Replied by Skiptomylou on topic Paneslider issue
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.
Code:
<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.

13 years 9 months ago #86963 by Eliot
Replied by Eliot on topic Paneslider issue
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.

13 years 9 months ago #86982 by Skiptomylou
Replied by Skiptomylou on topic Paneslider issue
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.

13 years 9 months ago #87071 by Xavier
Replied by Xavier on topic Paneslider issue
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.

13 years 9 months ago #87072 by Skiptomylou
Replied by Skiptomylou on topic Paneslider issue
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.

13 years 9 months ago #87134 by Xavier
Replied by Xavier on topic Paneslider issue
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.102 seconds
Powered by Kunena Forum