Black Friday sale! Get up to 25% off GP Premium! Learn more ➝

Menu break to mobile if goes to 2 lines

Home Forums Support Menu break to mobile if goes to 2 lines

Home Forums Support Menu break to mobile if goes to 2 lines

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #184040
    Paul

    Hi Tom

    Is it possible to prevent a menu (top above header), going to 2 lines and instead go to Mobile menu?

    You can see it on this site: http://commercial-awareness.com/financial-savvy/

    I am using GPChild theme. If possible I would like to avoid changes to mobile css because of potential changes that you may introduce in the future.

    best wishes

    Paul

    #184098
    Tom
    Lead Developer
    Lead Developer

    Hi Paul,

    The only way to do this is to initiate the mobile menu at a custom width: https://gist.github.com/generatepress/c23aef2d05807c39bb32

    You should still get future changes to the mobile file, but you may have to keep up to date with any changes made to the above file.

    Let me know if you need more info 🙂

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.