• Im using a layout on WordPress which has a navigation bar but no drop down menu’s . Is it possible to add a drop down menu in the control panel? Or can I add one simply using HTML? If so where would I place the code? Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Do you know if the menu uses a PHP function or static HTML?

    If you open up the file ‘header.php’ does it contain some code that looks a bit like this?

    <ul>
    <?php wp_list_pages('title_li='); ?>
    </ul>

    If it does, great. Your issue now becomes a CSS issue. If it doesn’t, could you post the code here?

    Thread Starter WeaverForWomen

    (@weaverforwomen)

    YES ! The code that you posted is the code that I see. What do I add to the code to create a drop down menu? Or what is the next step?

    Shell already supports drop down menus. Just go to the page you want to appear in the drop down and edit it. From the page attribute selector on the right side of the editor, choose the page you want to be the parent page, and then save the changes.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to add a drop down menu using HTML?’ is closed to new replies.