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. Keep distance between Menu and Text content when minimized

Keep distance between Menu and Text content when minimized

Scheduled Pinned Locked Moved General Discussion
3 Posts 2 Posters 124 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.
  • S Offline
    S Offline
    spale176
    wrote on last edited by
    #1

    Hi all,

    I hope somebody can help me out with this.

    On my homepage i have a vertical menu. When i click one of the pages, the content (Text or picture) appears parallel to it with an specific distance (1.JPG picture1)
    Which is pretty much want I want. When i minimize it, the text comes closer to the menu and it crashes into it (picture2) Even if its so much space that it could easily shrink it without moving. Is there a possibility to keep the same distance and only break it when its getting really small, like for a phone.

    Thank you

    2.JPG

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

      Hey!

      hmm the spaces are all in percent, what you'd need is a space that is in pixels

      use this css

      .grid-inner{
      padding-left: 300px;
      }
      

      in "custom css for desktop" in lay options -> custom css & html

      now your grid will start at 300px so you can put ur text in the first column in the gridder and that should be cool

      the css above is just for when u use the new lay theme version

      1 Reply Last reply
      0
      • S Offline
        S Offline
        spale176
        wrote on last edited by
        #3

        Thank you so much.
        I will give it a try and give you feedback.

        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
        MATTOFIRE
        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