[Resolved] Navigation gone om mobile devices

Home Forums Support [Resolved] Navigation gone om mobile devices

Home Forums Support Navigation gone om mobile devices

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #111961
    Peer Elmelund

    Hi,

    The navigation does not shown on mobile devices. How can I display the mobile navigation on tablet/smartphones?

    Site

    #112033
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    Remove this line from your child theme’s style.css file:

    @import url('../generatepress/style.css');

    That will fix this issue, plus a lot of other ones πŸ™‚

    #112184
    Peer Elmelund

    Thanks πŸ™‚

    #112186
    Tom
    Lead Developer
    Lead Developer

    No problem πŸ™‚

    #141016
    Jim

    Hi Tom, like Peer I found that the main menu of my GP-themed (with child theme) site disappeared on narrow-width screens, or when I narrowed my desktop browser a lot.

    When I deleted that @import line from the child theme (which I have activated), I was surprised the site still worked (and the mobile menu appeared as promised). Isn’t that @import line essential to making ANY child theme work? Please educate me, thank you.

    #141026
    Tom
    Lead Developer
    Lead Developer

    Hi Jim,

    It used to be, but using an @import like that doesn’t have very good performance.

    Instead, GP detects if you’re using a child theme, and includes all of the necessary stylesheets in a more efficient way πŸ™‚

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