- This topic has 32 replies, 3 voices, and was last updated 6 years, 11 months ago by
Tom.
-
AuthorPosts
-
March 20, 2019 at 5:20 am #844328
David
StaffCustomer SupportHi there,
its because the parent menu items that have a submenu do not contain a URL. If you add
#as the URL then they should trigger the drop down on mobile.March 20, 2019 at 9:30 am #844740Harris
Thanks David!
I added it and its ok.One more question.
Do you have any sugestions on how can I handle in the mobile menu the 3rd menu option (Έργα) that is clickable (link) and the sub-menus appear on hover in the desktop view?
Thanks
March 20, 2019 at 4:27 pm #845043Tom
Lead DeveloperLead DeveloperHi there,
Not too sure what you mean – can you explain a bit more?
March 20, 2019 at 9:53 pm #845139Harris
The submenus in the 3rd menu choice can’t open in the mobile menu view, as the (3rd) main menu item is a link itself.
So when you click on it you go to the linked page and there is no way to unfold the submenus.In desktop view the submenus open (unfold) on hover.
I know that’s the way it should happen. Just asking if there is any trick to make this work somehow.
March 21, 2019 at 8:22 am #845728Tom
Lead DeveloperLead DeveloperAh, this is typically where the dropdown arrow would be useful, as you can tap it to open the sub-menu. Are you not wanting the arrows to show on mobile?
March 21, 2019 at 9:44 am #845841Harris
It’s ok if the arrows show only on the mobile menu.
How can I enable them?March 21, 2019 at 3:29 pm #846075Tom
Lead DeveloperLead DeveloperTry this CSS:
@media (max-width: 768px) { .menu-item-has-children .dropdown-menu-toggle { display: block; } }March 22, 2019 at 10:29 am #846796Harris
Just tried it and doesn’t seem to be working Tom.
March 22, 2019 at 10:30 am #846797Harris
I moved it at the end of the rest css and it works now.
Thanks!Is there some way to have the arrow just after the end of the text? (not so important, just wondering)
March 22, 2019 at 3:27 pm #847014Tom
Lead DeveloperLead DeveloperTry this as well:
.main-navigation.toggled .menu-item-has-children .dropdown-menu-toggle { float: none; display: inline-block; }Let me know 🙂
March 25, 2019 at 10:21 am #849403Harris
Just writting to let you know that it works fine.
Thanks!March 25, 2019 at 2:28 pm #849649Tom
Lead DeveloperLead DeveloperYou’re welcome 🙂
April 11, 2019 at 9:55 pm #866748Harris
Hello,
Trying to apply similar styling to a second site, but the submenu divider and the submenu padding does not seem to work using the same css.
Also the menu dividing dashes appear in the submenu.
It’s something like css not working for the submenu.
Can you please have a look? I have updated the site url to the new one.
Thanks
April 12, 2019 at 8:52 am #867291Tom
Lead DeveloperLead DeveloperOn the working site, you’ve used this ID in your CSS:
#menu-main-menuThe ID of the second site is different:
#menu-main-menu-1So change the old ID to the new ID in your CSS, and it should be the same as the first site.
April 12, 2019 at 10:12 am #867345Harris
Thanks Tom!
Actually I didn’t used any ID. I think it was auto-created.
Both were “named” “Main Menu”Thanks once again
-
AuthorPosts
- You must be logged in to reply to this topic.