• Closed by: Anonymous Submitter
  • Closed on:
  • Reason: Not a bug

Ticket #24651 - Expandable links in main menu on mobile

Hi,
1. Mobile menu. I want to make whole expandable button in main menu on mobile clickable, not only icon (small arrow). How to make it?

Look on my website on mobile → Informacje

2. How about development of new version of alysum? When you plan to release it?

Thanks for help

Comments

Fred 13 May 2023, 10:58

Hi, Wojciech.
1. As I can see now, if I click on any place of black bar it opens the menu
2. We are waiting for Prestashop 8.1 https://build.prestashop-project.org/news/2023/core-monthly-2023-04-01-2023-04-30/

Wojciech Wojtuszko 15 May 2023, 15:04

1. I mean not main “main menu” bar, but inside it when you have submenu like example → Informacje inside my main menu bar on mobile.

Fred 15 May 2023, 17:19

Ok, I see
But there could be a link, that’s why it’s not triggering dropdown action

Wojciech Wojtuszko 16 May 2023, 11:31

How to fix that? Or you can make it? Shouldnt it work like if using submenu → whole button is dropdown?

Fred 16 May 2023, 18:33

We can’t “fix” that, because it’s not a bug. To change the behaviour need to spend some time on additional coding.
You can try this quick hack:

.pk-menu-horizontal .parent > a > span:last-child {
  width: 100%;
  max-width: 100%;
}
.pk-menu-horizontal .parent > a > span:last-child svg {
  margin: 0 0 0 90%
}