• Resolved mrainey

    (@mrainey)


    Need some help got a template installed at http://gvcg.co.uk

    I need to turn this menu into a drop down menu to how can i re jig the code to do this, im a little new to this. want the munu on the site to do this not a new one

    Michael

Viewing 10 replies - 1 through 10 (of 10 total)
  • Thread Starter mrainey

    (@mrainey)

    can anyone help with the problem i have.

    Does your theme support custom menus? Go to Appearance->Menus in the WordPress admin and see what is says.

    If it does then simply create a new menu and the structure you want.

    Thread Starter mrainey

    (@mrainey)

    this is what i get which to be honest is not good.

    The current theme does not natively support menus, but you can use the “Custom Menu” widget to add any menus you create here to the theme’s sidebar.

    If your theme doesn’t support the new WordPress 3.x custom menus then your theme likely uses something like wp_page_menu() function to render your menu.

    Check your header.php for the function and parameters used to show your menu.

    Anyway, an option to show your menu as a drop down may be as simple as defining child pages, with the top level parent as the top level menu item. But it is hard to tell without seeing your header.php code.

    If you want to paste it here and it is longer than 10 lines of code then please use pastebin.com.

    Thread Starter mrainey

    (@mrainey)

    the menu for some reason isn’t in the header file its in a file called banner and here is the code.

    <div id=”menu”>

    </div>
    <div class=”logo-top”></div>
    <div id=”logo”>
    <div class=”heading”>
    <p id=”maintitle”>“><?php bloginfo(‘name’); ?></p>
    <p id=”description”><?php bloginfo(‘description’); ?></p>
    </div>
    <div class=”info”>
    <img src=”<?php bloginfo(‘stylesheet_directory’); ?>/images/heading-img.jpg” />
    </div>
    <div class=”clear”></div>
    </div>
    <div class=”headingdivider”></div>

    Remove the depth=1& as this will force the menu to only ever be l level deep (i.e. no drop down).

    Thread Starter mrainey

    (@mrainey)

    brilliant that works but one slight problem check out http://gvcg.co.uk you’ll notice that is always there if you grasp my meaning.

    Michael

    Yes, you will now probably need the CSS to style the drop down so not everything is always showing (i.e. you only need to show top level menus by default, then everything else on hover).

    See how the default twenty ten theme handles this for non-custom menus, otherwise you will need to use a theme that uses the custom drop down menu system.

    Thread Starter mrainey

    (@mrainey)

    right ok will have a look probley going to get a headake from it bring on the coffee i say

    Thread Starter mrainey

    (@mrainey)

    im at a loss with this one i relly dont know what im looking for in the code, if someone could help be great

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘Navagation menu Help’ is closed to new replies.