/*Reverse sticky header*/
  1. Home
  2. Knowledge Base
  3. Customizations
  4. Javascript
  5. Display the LearnDash Course Page in List View By Default

Display the LearnDash Course Page in List View By Default

By default, the platform does not have this option. You can use the following JavaScript code to display the LearnDash course page in list view by default.

Please follow the steps below:

    1. Go to BuddyBoss – Theme Options.

    2. Under Custom Codes, enable JavaScript.

    3. Append the following:

jQuery( document ).ready( function(){ jQuery( '#course-dir-list .bb-course-items' ).addClass('list-view bb-list'); jQuery('a.layout-grid-view').removeClass('active'); jQuery('a.layout-list-view').addClass('active'); });

4. Click Save Changes.

Note: Any modifications are considered custom work already. Know more about our Support Policy here: https://www.buddyboss.com/support-policy/

Was this article helpful?

Related Articles

Related Helpful Links

Subscribe to Our Newsletter

Stay In Touch

Subscribe to our Newsletter, and we’ll send you the latest news from BuddyBoss

  • This field is hidden when viewing the form
  • This field is for validation purposes and should be left unchanged.

Try BuddyBoss Demo

Need Support?

Can't find the answer you're looking for?
Support

Test Sidebar

To speak to our Agency consultant, fill in the form found at our Contact Page.

"*" indicates required fields

Get Started

Enter your name and email address to get started with your project...

Name*
Profile photo of
Not recently active