WordPress.org

Forums

[resolved] Categories Scroll or iframe (7 posts)

  1. menandrew
    Member
    Posted 9 years ago #

    Hey guys, I have items galore listed in my categores (about 12 or more) and I'd like to get the Categories section in the sidebar to be "scrollable" because it just takes too much lines and space. Can this be possibly done? Your help and advice are greatly appreciated =)

  2. moshu
    Member
    Posted 9 years ago #

    You may want to try to use the dropdown cats template tag: Template_Tags/dropdown_cats

  3. menandrew
    Member
    Posted 9 years ago #

    Thanks moshu for the suggestion. I tried it and it worked. But not to seem a bit picky but is there anyway I can set a specific height around the Categories section and scroll the categories content, like how it is set up in the WP post page?

  4. moshu
    Member
    Posted 9 years ago #

    Probably. If you want something like that you should open those files from the admin folder and study how it was done. Sorry, I don't have a better idea...

  5. menandrew
    Member
    Posted 9 years ago #

    Wow... I went through the admin files and was overwhelmed with all the coding. Unfortunately, I couldnt figure out how they made the Categories (in the post page) scrollable. I was wondering it was done through iframe... and if it was, how did they call the categories file by "iframing" it.

    If anyone else has a solution to make a scrollable "Categories" list to put in the SIDEBAR, I'd really appreciate your contribution =)

  6. Shaney
    Member
    Posted 9 years ago #

    How about:

    <div style="overflow: auto; height: 100px;">
    Categories list here
    </div>

  7. menandrew
    Member
    Posted 9 years ago #

    Wow... that was simple. All that for a simple html code. Thanks!

Topic Closed

This topic has been closed to new replies.

About this Topic