Site logo

Archived topic

Horizontal scroll on secondary menu doesn't work anymore

3 replies · Started by Dorin on May 25, 2021

Viewing posts 1–4 of 4

I have a code provided by David a while ago for making the secondary navigation swipeable horizontally on mobile devices. Worked just fine until yesterday when I added another item to the menu (I'm using the secondary navigation to display my image galleries) and also updated my theme. The menu is now sort of stuck in the middle and I cannot swipe to the right or use the left arrow to go at the start. It works just fine in the opposite direction. Any help is much appreciated.

Hi Dorin,

It looks like the menus are being cropped/snipped.

Can you try adding this CSS?

ul#menu-portfolio {
    width: max-content !important;
}

Works like a charm. Thanks so much, Elvin.

No problem. Glad you got it sorted. :)

This archived topic is closed to new replies.