Stop the auto unroll section learnpress
-
Hello support,
I am writing today because of an issue i have been facing lately which is the auto unroll of section in course content in the course page and while opening the course, is there a way to prevent it from happening ?
-
Hi blackemper0r,
Thank you for reaching out.
Could you please provide more details about the issue you’re experiencing with the auto unroll of sections on the course page? If possible, attaching a screenshot or video would help us understand the situation better and provide you with an accurate solution.
We look forward to your response.
Best regards,
Brianvu-tpThis is the picture of course details, it unrolls every section. and my course has many sections which makes reaching a single section hard for users and bad for the user experience

-
This reply was modified 1 year, 9 months ago by
blackemper0r.
Hi blackemper0r,
Thank you for the additional information and the screenshot.
To help make the course page more user-friendly, you can limit the number of sections displayed by adjusting the settings in LearnPress. Here’s how you can do it:
- Go to LearnPress -> Settings -> Courses tab.
- In the Section Per Page field, enter the number of sections you want to display initially (as shown in this example, we have set it to display 2 sections).
- After clicking on the Show more Sections button, the next set of sections will be displayed.
This setup will help keep the single course page more compact. Similarly, you can adjust the number of course items per section by entering the desired number in the Course Item Per Page field.
We hope this solution improves the display of your course page.
Best regards,
Brianvu-tpHello Brianvu-tp,
I have tried this before but it shows only 2 sections in the course page which is uncomfortable, is there any way i can eddit the code to make the sections don’t unroll automatically
Best regards,
Blackemper0r
Hi Blackemper0r,
Thank you for your follow-up.
Currently, LearnPress does not have a built-in feature to keep the course sections collapsed by default. However, if you have some coding knowledge, you can manually modify the template by editing the source code in your child theme.
You can achieve this by customizing the file located at:
wp-content/plugins/learnpress/templates/single-course/loop-section.phpHere’s a link to the specific file
By editing this file, you can adjust how the sections are displayed on the course page, such as keeping them collapsed by default.
Best regards,
Brianvu-tpHello Brianvu-tp,
I have tried to edit it and still it doesn’t work but when i havetried to edit the file in : wp-content/plugins/learnpress/templates/loop/single-course/loop-section.php
They collapse but i cannot unroll them
Is there any way someone can help me ?
Best regards,
Blackemper0r
Hi Blackemper0r,
Thank you for your efforts in trying to resolve the issue.
It seems that the issue you’re facing is a bit more complex and requires a deeper investigation. To help you further, we recommend that you create a free support ticket with the subject “blackemper0r – Stop the auto unroll section LearnPress” through our official forum.
Please visit and click on the “Support” to create the ticket.
Our development team will be able to look into it more thoroughly and provide the best possible solution.
Thank you for your understanding!
Best regards,
Brianvu-tphello,
does the issue still has no fix ?
Hi Blackemper0r,
Thank you for reaching out again.
We haven’t yet received the support ticket you mentioned. To help us assist you further, please create a free support ticket with the subject “blackemper0r – Stop the auto unroll section LearnPress” through our official forum.
This will allow our development team to investigate your issue more thoroughly and provide a tailored solution as soon as possible.
Thank you for your cooperation!
Best regards,
Brianvu-tp -
This reply was modified 1 year, 9 months ago by
The topic ‘Stop the auto unroll section learnpress’ is closed to new replies.