• I recently changed themes and upgraded to the latest WP. Not sure which is causing the problem or if my new theme, which I very unprofessionally designed myself, just doesn’t work with it, but the same code I was using in my old theme is breaking terribly now.

    See the dropdown menu under Categories in my sidebar. It’s not working and it’s creating all sorts of errors. Any ideas?

    (Oh by the way, I’m actually using tags, not categories. The code I’m using was given to me on these boards several months ago.)

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter simplymother

    (@simplymother)

    I can’t leave the code in there since it really invalidates and breaks my site (even removes the footer), and for whatever reason I can’t even comment it out, I’ll put my code here. I really hope someone can help me.

    Here’s what I have in my sidebar.php

    <li><h2>Categories</h2>
     <ul class="dropdown">
    <li><select name="tag-dropdown" onchange="document.location.href=this.options[this.selectedIndex].value;"><option value="<?php bloginfo('url'); ?>/?pagename=tags"> All </option><?php dropdown_tag_cloud('number=10&orderby=count&order=DESC'); ?></select></li>
    </ul>
    </li>

    And here’s the CSS:

    ul.dropdown li {
    	list-style-type: none;
    	margin: 0;
    	padding: 0 0 2px 10px;
    	background: none;
    }
    
    ul.dropdown li SELECT{
    	color:#454545;
    	border:1px solid #B1BF5C;
    	background-color:#fff;
    }

    Thread Starter simplymother

    (@simplymother)

    Anybody know how to make a dropdown menu for my tags?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Dropdown menu doesn’t work–new theme or new WP version?’ is closed to new replies.