Remove dropdown function in menu (4 posts)

  1. CassTi
    Posted 6 years ago #

    I have just startet using wordpress and I'm finding it difficult to change certain things in the template. (i use "wedding" from wpthemeland.com) There is a dropdown funtion in the menu to display subpages. I would like the menu to only display the parent page. Hope someone can help! And as you probably already have figured out ; I need a detailed explanation as css.editing is completely new to me.

    and the page: http://www.tiasverden.com

  2. esmi
    Forum Moderator
    Posted 6 years ago #

    Does the theme's template file for your top nav bar use wp_list_pages? If so you could use something like <?php wp_list_pages('title_li&depth=1');?>

  3. CassTi
    Posted 6 years ago #

    Hm... I tried to use your code, but I obviously did something wrong - just got "syntax error" and now I cannot log in to edit the page at all...

  4. CassTi
    Posted 6 years ago #

    Page is up and running again, don't know what I did wrong. But still... The dropmenu is still there... Would truly appreciate all the help that's out there :)

Topic Closed

This topic has been closed to new replies.

About this Topic