Site logo

[Resolved] Sidebar with Categories & Posts

Home Forums Support [Resolved] Sidebar with Categories & Posts

Home Forums Support Sidebar with Categories & Posts

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #2578798
    Rick

    Hi there! I have a generatepress website that has 600+ pages explaining how functions work in a programming language.

    Currently those are presented as posts but don’t have a clear navigation. To improve user experience I would really like to add a sidebar that shows a collapsed overview of all Categories. Then when people click on a category, I’d like it to open up and show the post name.

    Some inspiration
    Microsoft does this in a great way: https://learn.microsoft.com/en-us/powerquery-m/table-lastn
    Also DAX guide has a great presentation of this: https://dax.guide/

    Do you have a suggestion on how to achieve something similar?

    #2579249
    Ying
    Staff
    Customer Support

    Hi Rick,

    I don’t think there’s an easy way to achieve this layout, especially when URL changes, the accordion in the sidebar stays at the same place.

    It will require custom development.

    #2585466
    Rick

    I’ll see if I can find a developer 🙂

    Thanks Ying.

    #2585544
    David
    Staff
    Customer Support

    Hi there,

    as a basis you can use the snippet and CSS i have in one of my own GISTS:

    https://gist.github.com/diggeddy/1f5e1a23002ab4238600b00d0fb11dd0

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.