WordPress.org

Ready to get started?Download WordPress

Forums

Drop Down Menu (7 posts)

  1. bcannon
    Member
    Posted 5 years ago #

    I have the theme "Vigilance", but I can't seem to figure out how to do a drop down menu. Do some themes allow it and some don't? I just clicked a link on my site that is supposed to have 4 sublinks but they don't show up in "Vigilance".

    Is this the theme or is there a way to do it?

  2. zeniph
    Member
    Posted 5 years ago #

    theme dosent support subpages:

    <?php wp_list_pages('depth=1&title_li='); ?>

    depth=1 - changing/removing that would include the subpages but you would need to also add CSS and javascript to give the drop down functionality

    its a really nice clean theme

  3. bcannon
    Member
    Posted 5 years ago #

    So are you saying that I won't be able to do a drop down?

  4. Saurus
    Member
    Posted 5 years ago #

    No - he didn't say that. He said you could edit the PHP to allow it, but would ALSO need to add some CSS and javascript:) There ARE ways to do it entirely in CSS, but you'd need to visit a CSS site to get the code.

  5. Drew Strojny
    Member
    Posted 5 years ago #

    bcannon,

    Vigilance really isn't set up for a drop down menu but you could do some customization and get it working. If you do be sure to use a child theme so you can keep upgrading the theme without overwriting your changes.

  6. David Gorathia
    Member
    Posted 5 years ago #

    Really Really think hard about having a drop down menu - imo and that of 99% of all webdevelopers, they are counter productive to a fluid webuser experience.

    Hiding navigation elements from your visitors is never a good idea unless you 100% have to and can't create room elsewhere.

    But honestly, what bussiness are you running that needs more than 6-8 pages in a navigation menu?

    I don't know a single person on the face of the earth that likes to "guess" what a website might be hiding in a navigation menu - I hate them when I see them on websites. Unless you are already at the lvl of Amazon.com - DONT use a drop down menu.

  7. Ronomundo
    Member
    Posted 4 years ago #

    I need a news template with lots of drop down menus that I can add a weighted Business Directory (with drop down menus) and a classified directory with lots of drop down menus. Anyone give me a hand?

    Ronomundo@gmail.com

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags