Lay Theme Forum

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

    Keep distance between Menu and Text content when minimized

    General Discussion
    2
    3
    28
    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.
    • S
      spale176 last edited by

      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 Reply Quote 0
      • arminunruh
        arminunruh Global Moderator last edited by

        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 Reply Quote 0
        • S
          spale176 last edited by

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

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

          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

          Recent Topics

          • N

            website blank.

          • S

            Theme crashed - because of Polylang?

          • S

            New fade-in / opacity bug?

          • A

            Unable to update lay theme / to login wp admin

          laytheme.com