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. General Discussion
  3. Custom frame-size for bigger Screens (above 1440px)

Custom frame-size for bigger Screens (above 1440px)

Scheduled Pinned Locked Moved General Discussion
5 Posts 2 Posters 78 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.
  • fabiandraxlF Offline
    fabiandraxlF Offline
    fabiandraxl
    wrote on last edited by
    #1

    Hej Layteam,

    I currently have set a frame of 50px on my website Laytheme Sites (via Gridder Default) ...

    I also added this code to limit the content (row-size) above 1440px:

    .lay-content .row-inner {
      max-width: 1440px;
      margin: auto;
    }
    

    But now I have the problem that elements which are deliberately placed on the right or left edge of the grid stick no longer to the edge of the screen.

    How could I solve this? Or is it even psossible?
    A Dev-Friend mentioned Custom CSS Properties (Varibale)?

    Could you please help my to solve this?

    Here are two screen shots to better visualize the problem:

    1. my website without wax-width
    2. my website with max-width

    Best regads and thank you all in advance,
    Fabi

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

      Dear Fabi

      @fabiandraxl

      The above website: https://fabiandraxl.com/ is not a Lay Theme website correct? šŸŒ


      Best wishes
      Richard
      fabiandraxlF 2 Replies Last reply
      0
      • RichardR Richard

        Dear Fabi

        @fabiandraxl

        The above website: https://fabiandraxl.com/ is not a Lay Theme website correct? šŸŒ


        Best wishes
        Richard
        fabiandraxlF Offline
        fabiandraxlF Offline
        fabiandraxl
        wrote on last edited by
        #3

        Hej @Richard,

        Thank you, sorry i accidentally linked my old site.

        You could see my Problem mentioned above perfectly via the Carousel on this page : https://new.fabiandraxl.com/bureau/

        I will move the Site later this day to fabiandraxl.com, pls just remove the new. if the links aren't working.

        Best Regards,
        Fabian

        1 Reply Last reply
        0
        • RichardR Richard

          Dear Fabi

          @fabiandraxl

          The above website: https://fabiandraxl.com/ is not a Lay Theme website correct? šŸŒ


          Best wishes
          Richard
          fabiandraxlF Offline
          fabiandraxlF Offline
          fabiandraxl
          wrote on last edited by
          #4

          Hej @Richard,

          In the meantime I thought about the problem again and found a solution, don't know why I did not do like that earlier:

          https://fabiandraxl.com/bureau/

          I added a extra Class for the Row and the following Code to my code above:

          .lay-content .row-inner {
            max-width: 1440px;
            margin: auto;
          }
          
          @media screen and (min-width: 1440px) {
              .fullwidth .row-inner {
                max-width: none !important;
              }
          }
          

          Hope that will help someone in the future. :)

          Thank you and best regards,
          Fabian

          1 Reply Last reply
          0
          • RichardR Offline
            RichardR Offline
            Richard
            Global Moderator
            wrote on last edited by
            #5
            @fabiandraxl

            "Hope that will help someone in the future. :)"

            Im sure it will, thanks for the update! ✨

            1 Reply Last reply
            1
            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
            A
            alasdair17
            M
            michaelmaeder
            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