#205 – Menu with submenus

Posted in ‘weeblrAMP’
This is a public ticket. Everybody will be able to see its contents. Only enter usernames, passwords or any other sensitive information in the Private information field.
Saturday, 04 April 2020 19:02 UTC
Andy K
 Hi Yannick,

I created a new menu that meets my needs and I'm just waiting to beta test the IDX, but I can use your help with formatting your AMP menu.
My menus have multiple levels:

(1) On the main level there are menus with and without submenus.
(2) A menu entry with submenus has the following characteristics:
- the menu name is a placeholder, so it is not clickable.
- there is a arrow to the right of the menu name which, when clicked, causes a drop down submenu with clickable items to appear.
- submenus can also have placeholders with arrows to the right which launch a sub submenu.
(3) Main menu entries without arrows to the right are links to single pages.

All of these distinctions appear in my non-amp WordPress menus, but all menu Items look the same in your WeeblrAmp menu. That makes it somewhat more difficult for visitors to navigate. Is there a way to at least distinguish placeholders from clickable menu links?

Thanks,

Andy
 
Monday, 06 April 2020 16:23 UTC
wb_weeblrpress
Hi

there is a arrow to the right of the menu name which, when clicked, causes a drop down submenu with clickable items to appear.
This cannot be implemented with AMP without coding some custom javascript. weeblrAMP include a simpler layout where submenus are always open.

Is there a way to at least distinguish placeholders from clickable menu links?
You would need to do that with CSS, for instance changing the color of the links (a element) v the color of the regular span elements?

Best regards
 
Tuesday, 07 April 2020 19:31 UTC
Andy K
Thanks. I've created a custom menu by HTML coding in my theme's functions.php file. It solves most of my issues. I am told there is a way to collapse submenus in AMP, but I have tried several CSS codes and some HTML codes as well. No success for now, so we'll see. However, what I have now is workable.
 
This ticket is closed, therefore read-only. You can no longer reply to it. If you need to provide more information, please open a new ticket and mention this ticket's number.