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. Mobile settings for margins not registering

Mobile settings for margins not registering

Scheduled Pinned Locked Moved General Discussion
9 Posts 2 Posters 808 Views 1 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.
  • C
    C
    comedowntous
    wrote on last edited by
    #1

    Hello - I am trying to customize margins for mobile browser. However none of my settings are registering - for example editing the Main Menu Top Frame % to 20% in the customizer returns no results - the menu floats to the top of the page as if margin top was set to 0. The only wait it moves further down the page is if the menu bar is revealed.

    Furthermore - editing the mobile browser margins for pages + categories does not return any results either. I've edited the gridder defaults for both desktop + mobile versions + edited each page's mobile version margins to no result.

    Is anyone else having this issue with mobile settings not registering?

    Thanks!

    1 Reply Last reply
    0
    • mariusjopenM
      mariusjopenM
      mariusjopen
      Global Moderator
      wrote on last edited by
      #2

      Dear @comedowntous
      Can you post a link to our website?
      Then we can have a look and inspect that.

      Marius

      www.mariusjopen.world

      1 Reply Last reply
      0
      • C
        C
        comedowntous
        wrote on last edited by
        #3

        Thanks! — agentandartist.co

        I have also tried to center text in the /artists page to no success. I gave the link a class and tried to apply custom css - after inspecting it with developer tools I verified the browser was able to register this however there were no changes in position.

        Is there a way to override this with !important!?

        1 Reply Last reply
        0
        • C
          C
          comedowntous
          wrote on last edited by
          #4

          Example - the /artists page:

          There is a link here which I would like centered across different media sizes -

          In the gridder

          <p class="_Default" style="text-align: center;"><a class="artist-link" href="/linkname"><span style="color: #000000;">LINK NAME</span></a></p>
          

          Cudtom CSS

          .artist-link:link {
              width: 60%;
              left: 20%;
              position: absolute;
              text-align: center;
              top: 0;
          }
          
          1 Reply Last reply
          0
          • mariusjopenM
            mariusjopenM
            mariusjopen
            Global Moderator
            wrote on last edited by
            #5

            Dear @comedowntous
            the page appears blank here.

            Try this instead:

            .artist-link {
                width: 60%;
                left: 20%;
                position: absolute;
                text-align: center;
                top: 0;
            }
            

            Best!

            Marius

            www.mariusjopen.world

            1 Reply Last reply
            0
            • C
              C
              comedowntous
              wrote on last edited by
              #6

              Thanks - The site is back up now, I'm still having trouble with the menu on mobile. None of my position settings seems to be registering and the menu links are fixed to the top of the page above the site title.

              1 Reply Last reply
              0
              • mariusjopenM
                mariusjopenM
                mariusjopen
                Global Moderator
                wrote on last edited by
                #7

                Dear @comedowntous
                you can use CUSTOM CSS:

                .laynav.mobile-nav {
                    margin-top: 20px;
                }
                

                That should do the job!

                Best!

                Marius

                www.mariusjopen.world

                1 Reply Last reply
                0
                • C
                  C
                  comedowntous
                  wrote on last edited by
                  #8

                  @mariusjopen said in Mobile settings for margins not registering:

                  .laynav.mobile-nav {
                  margin-top: 20px;
                  }

                  Thank you! - this works at placing the menu at a fixed position on mobile. However when the phone is switched to landscape format the menu then overlaps with the sitetitle, any way to work around this?

                  Also any way I can center the #grid across all pages - the page content div on mobile is not centered/fixed and so it floats to overlapp with navigation at the top of the page.

                  Thanks again!

                  1 Reply Last reply
                  0
                  • mariusjopenM
                    mariusjopenM
                    mariusjopen
                    Global Moderator
                    wrote on last edited by
                    #9

                    Dear @comedowntous
                    have a look into media-queries for CSS.

                    There you can play around with the browser size for CSS.

                    Best!

                    Marius

                    www.mariusjopen.world

                    1 Reply Last reply
                    0

                    Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                    Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                    With your input, this post could be even better 💗

                    Register Login
                    Reply
                    • Reply as topic
                    Log in to reply
                    • Oldest to Newest
                    • Newest to Oldest
                    • Most Votes


                    Online Users
                    A
                    Anna_S
                    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