Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

Lay Theme Forum

  1. Home
  2. General Discussion
  3. Change break point between mobile and desktop navigation

Change break point between mobile and desktop navigation

Scheduled Pinned Locked Moved General Discussion
3 Posts 2 Posters 363 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    dabu
    wrote on last edited by
    #1

    Hi!
    Is there a simple way to change the break point between mobile and desktop navigation? I want the mobile navigation to stay visible until 1080px, and the desktop should be visible from 1081px up. (because otherwise the navigation is overlapping with the logo)

    with the desktop navi it works:
    @media (max-width: 1081px) {
    .desktop-nav {
    display: none !important;
    }
    }

    but if I leave mobile visible longer than 600px, it looks completely messed up:
    @media (min-width: 600px) {
    nav.mobile-nav {
    display: inherit;
    }
    }

    It would be great to have a) some help for this with CSS, or even better b) a setting in the Admin panel where I can define the point. That would be awesome!

    Cheers, dabu

    1 Reply Last reply
    0
    • arminunruhA Offline
      arminunruhA Offline
      arminunruh
      Global Moderator
      wrote on last edited by
      #2

      hey so you can only set the mobile breakpoint. but this will also cause the mobile version to show up, for example a custom phone layout or the content would just be stacked

      Screenshot 2023-02-15 at 14.30.01.png

      in lay options, appearance section

      D 1 Reply Last reply
      0
      • arminunruhA arminunruh

        hey so you can only set the mobile breakpoint. but this will also cause the mobile version to show up, for example a custom phone layout or the content would just be stacked

        Screenshot 2023-02-15 at 14.30.01.png

        in lay options, appearance section

        D Offline
        D Offline
        dabu
        wrote on last edited by
        #3

        @arminunruh Ok thanks I saw that. But as you mentioned, it will cause the mobile version to show up, which is not what I want. Anyway, I will try further…

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        Online Users
        Forgot your key, lost your files, need a previous Lay Theme or Addon version? Go to www.laykeymanager.com
        laytheme.com
        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Recent
        • Tags
        • Popular
        • Users
        • Search