• Resolved kendub62

    (@kendub62)


    Hi,

    I would like the lesson sidebar to be closed automatically when a lesson page is loaded regardless of screen size, rather than only on mobile, i.e. I want the page to initially look as it does when the button below is clicked.

    Is that possible?

    Thank you.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Dear Concern,

    To achieve the desired customization, you will need to override and modify the Tutor LMS templates. You can refer to our documentation for detailed instructions on how to override the Tutor LMS templates. This process requires some knowledge of theme and plugin customization.

    https://docs.themeum.com/tutor-lms/developers/override-templates/

    If you encounter any issues or have specific questions during the customization process, please don’t hesitate to reach out to us. We’re here to assist you and provide further guidance.

    Can you please tell me the exact file that needs to be modified please?

    Thank you.

    Plugin Support Md Rashed Hossain

    (@wprashed)

    Dear @ssacco

    You have to customize this /tutor/templates/single/lesson/lesson_sidebar.php file.

    Thank you.

    thank you I will give that a try

    Well I’ve been playing with this all day and sadly, I can’t find a place to modify.

    What I’m trying to do is to have the Lesson Sidebar Closed when the lesson is loaded. The way it functions now is that the sidebar has to be closed by the “<” at the top of the lesson page. I am trying to keep the sidebar closed even after the next lesson is displayed.

    I can see where the <div></div> is in the rendered code but can’t seem to find where to remove it. When I remove it via the Chrome Developer Tools Console, the sidebar disappears.

    I really appreciate any help that you can provide. I’m certain that others would like to have the same functionality as well. Thank you for your help.

    • This reply was modified 8 months, 1 week ago by ssacco.
    gowhitehat

    (@gowhitehat)

    @wprashed I have the same problem too. @largbasket Would you please walk us through since the file is not well commented or documented?

    How do I “customize” this file to autohide the sidebar? /tutor/templates/single/lesson/lesson_sidebar.php

    • This reply was modified 8 months ago by gowhitehat.
Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Hide lesson sidebar on page load?’ is closed to new replies.