Lay Theme Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Search

    Center mobile menu (vertical and horizontal)

    General Discussion
    3
    7
    68
    Loading More Posts
    • 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.
    • Hayo Gebauer
      Hayo Gebauer last edited by

      Is it possible to center the mobile menu both vertically and horizontally?
      I get mixed results using the mobile version on the computer, see the screenshot. On the iphone it looks kinda centered.

      Bildschirmfoto 2020-06-17 um 19.07.10.png

      1 Reply Last reply Reply Quote 0
      • CyberSlayers
        CyberSlayers last edited by

        Hello @Hayo-Gebauer

        Can you post a link to your website?
        We will then have a look and inspect that!

        Many wishes!

        Audrey

        ✦ Audrey@CyberSlayers.work ✦
        www.cyberslayers.work

        Hayo Gebauer 2 Replies Last reply Reply Quote 0
        • Hayo Gebauer
          Hayo Gebauer @CyberSlayers last edited by

          @audreybelaud www.hayogebauer.com, thanks!

          1 Reply Last reply Reply Quote 0
          • Hayo Gebauer
            Hayo Gebauer @CyberSlayers last edited by

            @audreybelaud also, to illustrate what I am talking about, hope this helps
            Bildschirmfoto 2020-06-21 um 14.47.19.png

            1 Reply Last reply Reply Quote 0
            • mariusjopen
              mariusjopen Global Moderator last edited by

              Dear @Hayo-Gebauer
              I would try something like this:

              nav.mobile-nav>ul {
                  padding-top: calc(50vh - 150px);
              }
              

              Best!

              Marius

              www.mariusjopen.world

              Hayo Gebauer 1 Reply Last reply Reply Quote 1
              • Hayo Gebauer
                Hayo Gebauer @mariusjopen last edited by

                @mariusjopen that seems to have done it, thank you!

                1 Reply Last reply Reply Quote 0
                • mariusjopen
                  mariusjopen Global Moderator last edited by

                  Dear @Hayo-Gebauer
                  nice!
                  Best!
                  Marius

                  www.mariusjopen.world

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post

                  Try this to fix issues before you post:

                  Use the Search Feature. Maybe there is already a solution to your issue.

                  1. Update Lay Theme and all Lay Theme Addons
                  2. Disable all Plugins
                  3. Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code ", click "Save Changes"
                  4. Now see if your problem solved itself
                  5. Go here, see if your problem is listed here:
                  Troubleshooting

                  When you post:
                  1. Post a link to where the problem is
                  2. If the problem is difficult to explain, post screenshots / link to a video to explain it

                  Thanks!

                  Online Users

                  A
                  H
                  T
                  M
                  L

                  Recent Topics

                  • T

                    Video is played differently

                  • A

                    Broken images

                  • L

                    Hide mobile menu, when scrolling down

                  • J

                    Imagehover addon show mouseover state

                  laytheme.com