WordPress.org

Ready to get started?Download WordPress

Forums

Trouble with drop down menu (8 posts)

  1. totallytech
    Member
    Posted 1 year ago #

    Hey Guys,

    I've got an install of WP 3.5 and a custom theme installed on my site.

    I've got 2 menus at the top near the header...

    Check Site

    One works perfectly showing the correct drop down etc, the other doesnt.

    I've got the menus configured properly in the admin area, and checking my code shows this:

    'theme_menu_depth' => 0,
    'theme_menu_source' => 'Pages',
    in the defaults code.

    then the code on the header.php

    This one doesnt work

    <nav class="art-nav-top clearfix">
        <?php
    	echo theme_get_menu(array(
    			'source' => theme_get_option('theme_menu_source'),
    			'depth' => 0,
    			'menu' => 'top-menu',
    			'class' => 'art-hmenu'
    		)
    	);
    ?>
        </nav>

    This one works

    <nav class="art-nav clearfix">
        <?php
    	echo theme_get_menu(array(
    			'source' => theme_get_option('theme_menu_source'),
    			'depth' => 0,
    			'menu' => 'primary-menu',
    			'class' => 'art-hmenu'
    		)
    	);
    ?>
        </nav>

    It shows everything except the second level.... Any ideas what I've done wrong?

  2. Andrew
    Forum Moderator
    Posted 1 year ago #

    There's nothing wrong here. Why would you expect the far-top menu to work, to drop down?

  3. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    Have you asked on the Artisteer site?

  4. totallytech
    Member
    Posted 1 year ago #

    Hey,

    Yeah the support section has sub pages, should show 3 or 4 pages in a drop down, like the web services section.

    I've not spoken to artisteer yet but I did post around 3 or 4 days ago on the artisteer forum and had no reply :(

  5. Andrew
    Forum Moderator
    Posted 1 year ago #

    If you don't apply CSS or JavaScript to the menu, then it won't work.

    Artiseer themes aren't supported here, so you should continue your posts on their forums.

  6. totallytech
    Member
    Posted 1 year ago #

    Hey,

    Ok, thanks anyway, thought I'd ask here but it is covered by CSS,

    the <nav class="art-nav-top clearfix"> and <nav class="art-nav clearfix"> covers the code and the adds ul il etc elsewhere in the code.

    If you look in the source code you will see the code for the drop down is shown, but for some reason it wont show - I didnt know if there was an obvious setting that I'd missed.

  7. esmi
    Forum Moderator
    Posted 1 year ago #

    We do not support Artisteer themes here - only those themes downloaded from wordpress.org.

  8. totallytech
    Member
    Posted 1 year ago #

    Oh ok, never mind, I thought this would be the better place to ask about it, I'll keep looking. Thanks anyway

Topic Closed

This topic has been closed to new replies.

About this Topic