Need help in menu items

  • Posts: 159
  • Thank you received: 0
11 years 1 month ago #127683

-- url of the page with the problem -- : mywebsite.com/mypage
-- HikaShop version -- : 2.2.1
-- Joomla version -- : 3.0
-- PHP version -- : 5.3.27
-- Browser(s) name and version -- : FireFox 23.0.1


Hi Can you help me on this

This is my Categories Item listing menu




i want it to be listed like this


with the look of this style


is it possible ?

Thanks in advance

Attachments:

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

  • Posts: 82906
  • Thank you received: 13378
  • MODERATOR
11 years 1 month ago #127710

Hi,

So basically, you don't want to display the sub categories?
In that case, simply change the "Show sub category" option of your module to "no child".

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

  • Posts: 159
  • Thank you received: 0
11 years 1 month ago #127759

well actually i do want to display the sub categories but only when the main category is being clicked then it will drop down the menu and show the sub categories in it

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

  • Posts: 101
  • Thank you received: 9
11 years 1 month ago #127760

What you want is exactly what nicolas said.

The following user(s) said Thank You: Jerome

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

  • Posts: 159
  • Thank you received: 0
11 years 1 month ago #127763

well i have done it but what i see as the result is not what i want.

i want those main categories to be open like drop down they gets open before like shown in pictures.
i just want them to be like others like category "Men" and "Women" that anyone click on category "Men" it will be open like Computer otherwise it will be closed like "Men"

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

  • Posts: 159
  • Thank you received: 0
11 years 1 month ago #127764

let me explain it in details and with pictures so it can be helped to understand what i want


i want the Categories menu to be like this by default




and when anyone clicks on "Computer" it will opens the computer main category like drop down style


and when anyone clicks on "Men" it will close the computer category and open the men category like drop down style


same like others when someone click on "women" it will close other categories and open the women category like drop down style



i think now it is easily understandable

Attachments:

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

  • Posts: 13201
  • Thank you received: 2322
11 years 1 month ago #127809

Hi,

You can probably do that with some css, by adding a display none property on the sub elements.
Then when clicking on the sub category it will override the display none to display the content.

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

  • Posts: 159
  • Thank you received: 0
11 years 1 month ago #127822

well...
how to do that and where ? :S

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

  • Posts: 159
  • Thank you received: 0
11 years 1 month ago #127934

hi this is the Css i added earlier to style the menu, it was in the tutorial of MyShop theme for Hikashop. kindly suggest me where to add the display none property on the sub elements.

/* ---- CATEGORIES MENU ---------- */

.accordion {  }

.accordion-group { list-style-type: none; }

.accordion-heading a { display: block; }

.accordion-heading a.accordion-toggle { padding: 0; }

.accordion-heading { background-color: #f2f2f2; padding: 5px 0 5px 10px; }

.accordion-group a { text-decoration: none; }

ul.hikashop_category_list { list-style-type: inherit; margin-left: 5px; }

li.hikashop_category_list_item { float: none; padding: 2px 0; }

li.hikashop_category_list_item a {  }

.hikashop_category_list_item.current.active a { font-weight: bold; }

ul.unstyled li:first-child  { display: none; }

Last edit: 11 years 1 month ago by Jerome.

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

  • Posts: 13201
  • Thank you received: 2322
11 years 1 month ago #128090

Hi,

You can add a property on:

.hikashop_subcategories .jpane-slider{
    display:none;
}
Here is a tutorial on how to customize the display:
www.hikashop.com/support/documentation/1...ize-the-display.html

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

Time to create page: 0.124 seconds
Powered by Kunena Forum