Hi guys Having some issues with superfish drop down menu working on a thematic child theme, using wordpress 3.3.2. Anyone had similar problems and hopefully a resolution? I have 2 menus, a primary at the top of every page, and a secondary on the inner pages. I have configured the menus in the wordpress back end through: Apperance > menus. When i add a new page, on the right under 'Page attributes' i specify the parent page, so all looks good from here. And i go back to Apperance > menus to add the menu item. But the child page is not showing as a drop down to the parent, it just adds the page as a top level menu. Am i missing somethign to get this working? Seems pretty straight forward but tried everything and cant get it to work. DO i need to add any calls to superfish or jquery into the templates. I thought it was auto Anyone have any ideas? Thanks
try to add this code in functions.php file of your theme or child theme // Filter the default drop-down options function childtheme_dropdown_options($dropdown_options) { ?> <script type="text/javascript"> jQuery.noConflict(); jQuery(document).ready(function(){ jQuery("ul.sf-menu").supersubs({ minWidth: 14, // minimum width of sub-menus in em units maxWidth: 22, // maximum width of sub-menus in em units extraWidth: 1 // extra width can ensure lines don't sometimes turn over // due to slight rounding differences and font-family }).superfish({ delay: 600, // delay on mouseout animation: {opacity:'show',height:'show'}, // fade-in and slide-down animation }); }); </script> <?php } add_filter('thematic_dropdown_options','childtheme_dropdown_options'); Code (markup):