Subcategory showing on click or hover

Posted in: Newspaper
Post count: 6

How to make subcategory in sidebar show up and hide when hover is on parent category or by clicking on parent category? Like it is made in main menu – hover opens submenus in desktop mode and the click opens submenus in mobile mode.

Post count: 20688

Hi,

I don’t understand exactly what you want to achieve in the sidebar, with the categories. There is no option to hide categories by default and the display them on hover on desktop or on mobile, this will have to be made custom or through a plugin that has these capabilities. Please correct me if I misunderstand.

Thanks

Post count: 6

You understood correctly, but in mobile version submenus to show up by clicking. how to make it custom? I didn’t find any plugins that has these capabilities.

  • This reply was modified 9 years by sportal.
Post count: 20688

Hi,

You would need a plugin that can basically toggle the elements you want, like a toggle plugin. Maybe there are some plugins that you can try. Or search for a category widget plugin that has these options. It would be difficult to create custom code to enable you to do this. There is no easy solution that I could provide you, to modify the default category widget and implement that behavior.

Thanks

Post count: 6

Could you tell me where to find the file responsible for sidebar? Thanks in advance.

Post count: 20688

Hi,

The sidebar displays the widgets you insert in it. There is no file that controls the sidebar where you could achieve something like this.
Modifications will have to be made to the widgets if needed. The sidebar section only displays those widgets, in a container.

Thanks

Viewing 6 posts - 1 through 6 (of 6 total)
The forum ‘Newspaper’ is closed to new topics and replies.