• Priority: 0
  • Status: Closed
  • Theme: Alysum
  • Assigned To: Fred
  • Private: No
  • Open Date: 14.04.23, 21:03
  • Opened by: Thomas Ullrich
  • Closed by: Anonymous Submitter
  • Closed on:
  • Reason: Not a bug

Ticket #24550 - Mobile Submenu is not 'in line'

Hi Fred,

why does our mobile submenu look so messy? See attached. It is not in line with the header and I don’t know how to change that.

Comments

Thomas Ullrich 15 Apr 2023, 00:04

Sorry, wasn’t able to add the screenshots until now as this was not possible with my smartphone.

Fred 15 Apr 2023, 11:19

Hi, Thomas.
Do you mean missing spaces?

Thomas Ullrich 15 Apr 2023, 12:23

Did you see the screenshots above, Fred? I mean the submenu is not aligned on the left side. I would also like to reduce the font size of the submenu. Where can I handle this? Only with CSS?

Thought I can change this in adding margin to the dropdown section in CE (see screenshot) but this doesn’t change anything, it seems.

Attachments:

Thomas Ullrich 15 Apr 2023, 15:36

Sorry, wasn’t able to add the screenshots until now as this was not possible with my smartphone.

Fred 17 Apr 2023, 19:16

Yes, I see it now. Do you mean missing spaces here https://take.ms/QZN4H ?

Thomas Ullrich 17 Apr 2023, 19:42

Yes exactly. And Font size of submenu could Vena bit smaller.

Fred 17 Apr 2023, 21:09

Try this CSS fix

@media (max-width: 1024px) {
    body .pk-menu-horizontal .menu-dropdown.pk-sub-menu {
        padding:10px
    }
}
Thomas Ullrich 17 Apr 2023, 23:55

I inserted it in theme settings. Looks like the syntax is not accepted, as the @media rule is highlighted in red (see attached screenshot). I don’t see any effect taken place (var/cache and litespeed cache have been cleared).

Attachments:

Fred 18 Apr 2023, 19:34

Looks like it works fine now https://take.ms/IkcIi

Thomas Ullrich 18 Apr 2023, 20:41

Yes. Works fine.
Did you Change anything?

BTW, what about the Alysum AMP theme? Will it return?

Fred 18 Apr 2023, 21:01

AMP module has been recently fixed and working fine

Thomas Ullrich 18 Apr 2023, 21:02

Oh great. Is the updated(fixed) version already included in last Alysum update?

Fred 18 Apr 2023, 21:17

Yes, it should be updated as I remember.
But you need only one file (see an attachment) to update in the

/modules/pkamp/controllers/front/

Attachments:

ajaxCart.php (12.9 KiB)