Lay Theme Forum

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

    Collapsed Sidebar

    General Discussion
    2
    2
    185
    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.
    • P
      Paul_Moxie last edited by

      Hi @mariusjopen and @arminunruh !

      yesterday i did a collapsed sidebar menu for a page i'm working on right now:

      http://morgenmachen.org/startseite-3

      The only problem i have is, that the content of the page won't move with the sidebar, like it does in this example:

      https://www.w3schools.com/howto/tryit.asp?filename=tryhow_js_collapse_sidebar

      The CSS they use in the example is:

      }
      #main {
      transition: margin-left .5s; /* If you want a transition effect */
      padding: 20px;
      }

      Is it possible to achieve the effect by changing #main to whatever is used in laytheme? Do i have to put in the page ID? Or is this not possible with laytheme due to the way it uses Java Script?

      It would be great if you could give me a little hint :-)

      Cheers, Paul

      1 Reply Last reply Reply Quote 0
      • mariusjopen
        mariusjopen Global Moderator last edited by

        Dear @Paul_Moxie
        it looks great! I do not understand what you want to achieve.

        Best!
        Marius

        www.mariusjopen.world

        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

        O
        M
        Y
        A
        K
        M
        P

        Recent Topics

        • K

          Unable to update lay theme / to login wp admin

        • S

          Theme crashed - because of Polylang?

        • A

          New button feature not available

        • A

          carousel addon not working after update

        laytheme.com