So for the CSS in this doc:
https://docs.generatepress.com/article/disable-secondary-navigation-mobile-menu/
Remove that – and use this instead:
@media (max-width: 768px) {
.secondary-navigation {
text-align: center !important;
overflow-x: scroll;
-ms-overflow-style: none;
scrollbar-width: none;
scroll-snap-type: x mandatory;
}
.secondary-navigation .main-nav>ul {
display: flex !important;
flex-wrap: nowrap;
}
.secondary-navigation .sf-menu>li {
flex: 1 0 120px;
scroll-snap-align: center;
}
}
.secondary-navigation .menu-toggle {
display: none;
}
Note this line:
flex: 1 0 120px;
the 120px sets the width of the scrollable menu items. Adjust this to suit.
Rest of the menu item styling is still controlled by the customizer