Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Search
Skins
  • Light
  • 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. Feedback
  3. "nocustomphonelayout" should default to gridder defaults ?

"nocustomphonelayout" should default to gridder defaults ?

Scheduled Pinned Locked Moved Feedback
5 Posts 2 Posters 55 Views
  • 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.
  • R Offline
    R Offline
    rsepierre
    wrote on last edited by
    #1

    Why are some margins arbirary set in hard in the CSS, while gridder defaults exists ?

    d1181fc1-0c5d-4d6f-b6dd-b2e464bca79b-image.png
    bcce84a0-4d96-4fa8-9535-6c37f13b9896-image.png

    bc009d4d-8275-44fd-8238-9a95a82f545f-image.png

    1 Reply Last reply
    0
    • R Offline
      R Offline
      rsepierre
      wrote on last edited by
      #2

      I think it would make sense for situations where there is no custom phone grid to use to gridder defaults configuration instead of "default defaults".

      For example in that situation, where I have not designed a custom phone grid, I think it would be better to not get margins & paddings on the grid, rows or columns because I configured it so that the default layout does not have any.

      It could be optional (with "apply gridder defaults values where there is no layout" checkbox maybe ?) in case you would like to make a non-breaking change for people who's phone gridder defaults wouldn't match default defaults.

      But I think in most situation, if you configure gridder defaults, they are what you expect margins to be by default (whether you actually design a dedicated layout or no)

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

        please go to customize -> mobile -> mobile spaces.
        here you can set the spaces that are used for the mobile version for automatically generated phone layouts

        the screenshots of the code you show:
        these are not hard coded, they can be set in the settings i mention above. these also only apply to none custom phone layout grids using the ".nocustomphonegrid" class

        But I think in most situation, if you configure gridder defaults, they are what you expect margins to be by default (whether you actually design a dedicated layout or no)

        yea you're right its confusing that there are these two different settings!

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

          Screenshot 2025-04-09 at 19.02.45.png

          when using woocommerce, you even also have woocommerce -> woocommerce mobile spaces

          :O

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

            there is however, a text about this here, but it can be easy to miss:

            Screenshot 2025-04-09 at 19.03.55.png

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


            I also code custom websites or custom Lay features.
            šŸ’æ Email me here: šŸ’æ
            info@laytheme.com

            Before you post:
            1. When using a WordPress Cache plugin, disable it or clear your cache.
            2. Update Lay Theme and all Lay Theme Addons
            3. Disable all Plugins
            4. Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"

            This often solves issues you might run into

            When you post:
            1. Post a link to where the problem is
            2. Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
            3. If the problem is difficult to explain, post screenshots / link to a video to explain it
            Online Users
            M
            mactics
            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