• Resolved virtuallynicky

    (@virtuallynicky)


    I currently have a drop down monthly archive menu at https://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,

    Nicky

Viewing 7 replies - 1 through 7 (of 7 total)
  • Did you try this: Template_Tags/dropdown_cats?

    Thread Starter virtuallynicky

    (@virtuallynicky)

    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?

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

    Thread Starter virtuallynicky

    (@virtuallynicky)

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

    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.

    Thread Starter virtuallynicky

    (@virtuallynicky)

    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(); ?>
    </select>
    </form>’

    (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! ??

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

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Drop Down categories’ is closed to new replies.