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.