Skip to content

All menu items show on one line in wordpress #14

@Webminky

Description

@Webminky

I am completely stuck. I have tried everything I know and many Google searches. I have selectnav.js set up on a test site while I am learning responsive coding. The site is WordPress based, self hosted. I have the code working properly, however rather than the pages showing up one underneath each other, list style, the pages show in one line and are not click-able.

I have removed all css except the relevant js.nav stuff, it is not that.
I have tested it with a manual list rather than 'main_menu')); ?> it works fine.

From this I must conclude that the problem is the line calling the menu. I have also tried just using a plain wp_get_pages command, that isn't working either.

One thing i have noticed, is that while it is

    because I am calling a named menu, it is adding <ul id"menu-main-menu"> to the code. I have since tried naming the replacement id to menu-main-menu but it still doesn't work, in that instance, it simply shows nothing.

    I am at my wits end with this. If you have any ideas, I would be very grateful. If you want to see the original files, email me privately and I will get you an admin login so you can see for yourself.

    http://2dragons-playground.net/demosites/responsive/

    Many thanks for any help or ideas you can offer. If you need more information, please don't hesitate to contact me.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions