[resolved] Drop Down categories (8 posts)

  1. virtuallynicky
    Posted 9 years ago #

    I currently have a drop down monthly archive menu at http://www.virtuallynicky.co.uk/weblog but want a matching one for the category list (I've tried fiddling around with the code but I just don't have the knowledge to be able to work it out on my own unfortunately). Any pointers would be great, because I ALSO want to be able to style them both the same way for a design I am working on at the moment.

    Many thanks in advance,


  2. moshu
    Posted 9 years ago #

    Did you try this: Template_Tags/dropdown_cats?

  3. virtuallynicky
    Posted 9 years ago #

    Ahah! THAT'S what I was looking for (must have been looking TOO hard!)

    I take it there is no way to easily make it not have the submit button though :-(

    Also, I'm probably being blind again, but how do I get it to display the categories with their parent/child relationship?

  4. iand
    Posted 9 years ago #

    I use this plugin (with 2.0.1) which gets rid of the submit button.

  5. virtuallynicky
    Posted 9 years ago #

    Sounds like what I need Ian, thanks! Looks like it will sort out the parent/child category thing too?

  6. sodafizz
    Posted 9 years ago #

    I'm using the plug-in that Ian referenced above. Problem: I have a 3-column theme. Is there a way to adjust the width of the drop-down menu?

    Currently, the Categories drop-down floats to the width of the category title with the most characters. This allows it to intrude upon my template's middle column.

    I've looked everywhere on the CSS sheet and the sidebar php but can't find (read: don't know) where one would logically make a change.

  7. virtuallynicky
    Posted 9 years ago #

    I'll try and explain what I have done... I can't promise that I can solve the problem but here goes!

    In my sidebar I have the following code:

    '<form name="categoryform" id="categoryform" action="">
    <select name="menu" onchange="MM_jumpMenu('parent',this,0)">
    <option>select category</option>
    <?php dropdown_cats_exclude(); ?>

    (which no doubt is what you have from this plugin too)

    in my stylesheet the styling for this jump menu is done with:

    '.categoryform { margin:2px 0 0 0; }

    .categoryform select {
    border: 1px solid #cdc3c6;
    padding: 1px;
    font-size: 11px;
    width: 165px;

    So I've basically told the menu how wide to be.

    The other thing to consider is shortening your category names. Without seeing your site I don't think I can suggest anything else and I don't know if I have helped at all... but figured I would share! :-)

  8. dbasulto
    Posted 9 years ago #

    The link for this plugin is broken.
    Any mirrors to it?

Topic Closed

This topic has been closed to new replies.

About this Topic