Ugly side module list style

  • Posts: 59
  • Thank you received: 0
14 years 2 weeks ago #1270

Hi.

I configured one of my side modules from div style to list style, in order to get a text only menu.
No matter what template is active, the final result is a bit ugly: oversized bold fonts and a grey background.

If list is selected, no visual configuration options appears at module configuration.

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
14 years 2 weeks ago #1271

Hi,

If you set the option "Show sub categories" to "no childs", the system won't add any styling and will use your template's style.
If you set this option to something else, the system adds some sliding CSS. In that case, you can edit the CSS easily in the configuration under the tab display. You can search for the CSS block with the comment /* sliders CSS for module categories display */ in order to find the CSS related to that part and then modify it to suit your needs.

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

  • Posts: 59
  • Thank you received: 0
14 years 2 weeks ago #1280

Ok, but there is another problem related to that, not a css one.

The first time you enter in the web, if you click on one of this categories listing side module ("Hikashop - Categories "), no product is displayed, no matter its configuration.

But if after this, you click on any other of the page links that show you a product, those module links seem to be refreshed and start working properly.

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
14 years 2 weeks ago #1283

In the module you need to set the "menu" option to a hikashop "listing of categories" or "listing of products" menu so that the system will know how to display the category thanks to the options of the menu.

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

  • Posts: 59
  • Thank you received: 0
14 years 2 weeks ago #1284

Uhm?
So, do I need a menu related to the module in the same way i need a module related to a menu in order to display products?

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
14 years 2 weeks ago #1285

Yes. The options of a module let you customize how the module itself is displayed. But you want to specify as well how the main page will look once you clicked on a link of that module. That's what the menu option is for. The option of the menu selected there will tell how the destination page will look. Of course, if you already have a menu configured, you could just use that menu in the module.
You can look at our demo website in the options of the categories module. There, the "listing of categories" menu which is on the top menu is used as reference menu in the options of the module so that when you click on the category links of the module, the page will display the same way as when you click on that "listing of categories" menu.

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

Time to create page: 0.061 seconds
Powered by Kunena Forum