• Resolved kellerpt

    (@kellerpt)


    Hello!

    Created a course page without sidebar. But in this format the unit with the access plans are displayed at the full width of the screen and a list of lessons too stretched.

    https://prnt.sc/h6jadp

    Help to return to normal view.

    • This topic was modified 8 years, 7 months ago by kellerpt. Reason: add screen

    The page I need help with: [log in to see the link]

Viewing 12 replies - 1 through 12 (of 12 total)
  • Thread Starter kellerpt

    (@kellerpt)

    Enrolled student sees the page normally http://prntscr.com/h6jggk

    @kellerpt,

    What theme are you using? Are you using a page builder?

    The URL you provided shows an error to me currently so I can’t help with some custom CSS at a glance

    Thanks,

    Thread Starter kellerpt

    (@kellerpt)

    Theme – Impreza from us-themes
    use Visual Composer

    url – https://lpress.fintrader.pro/course/dynamic-ma/

    • This reply was modified 8 years, 7 months ago by kellerpt.

    @kellerpt,

    Since you’re using VC what you’ll want to do is employ the strategy we recommend when using Beaver Builder or Divi (I don’t have a tutorial specific to VC, sorry) and utilize the LifterLMS Labs Action Manager to remove the automatic output of template items like the pricing table and then add shortcodes back to your VC layout to output these items within the contraints of the VC row/module settings.

    You can take a look at using the Action Manager here: https://lifterlms.com/docs/lab-action-manager/

    You can use this shortcode inside a VC module to output the pricing table now that it’ll be gone from your page: https://lifterlms.com/docs/shortcodes/#lifterlms_pricing_table

    Hope that helps,

    Thread Starter kellerpt

    (@kellerpt)

    Okay, I’ll try to deal with this.

    Another question – how to remove pagination from the courses?
    https://lpress.fintrader.pro/
    http://prntscr.com/h7fm61

    And yet there is a problem with the display of courses on the General page –
    https://lpress.fintrader.pro/courses/

    Another question – how to remove pagination from the courses?

    Use the “posts_per_page” parameter on the courses list if you don’t wish to paginate when using the shortcode enter “-1” (docs)

    And yet there is a problem with the display of courses on the General page –

    Your theme does not appear support LifterLMS catalogs. Support can be added by following these steps: https://lifterlms.com/docs/lifterlms-catalog-compatibility/

    Best,

    Thread Starter kellerpt

    (@kellerpt)

    Use the “posts_per_page” parameter on the courses list if you don’t wish to paginate when using the shortcode enter “-1” (docs)

    I need to show it 8 courses, not all

    Thread Starter kellerpt

    (@kellerpt)

    Your theme does not appear support LifterLMS catalogs. Support can be added by following these steps: https://lifterlms.com/docs/lifterlms-catalog-compatibility/

    I added code like this

    remove_action( 'lifterlms_before_main_content', 'lifterlms_output_content_wrapper', 10 );
    remove_action( 'lifterlms_after_main_content', 'lifterlms_output_content_wrapper_end', 10 );
    add_action( 'lifterlms_before_main_content', 'my_content_wrapper_open', 10 );
    add_action( 'lifterlms_after_main_content', 'my_content_wrapper_close', 10 );
    function my_content_wrapper_open() {
    	echo '<section class="l-section-h i-cf" id="main">';
    }
    function my_content_wrapper_close() {
    	echo '</section>';
    }

    The width of the displayed content turned out to be correct. But I can’t find how to disable sidebar which shows at the bottom

    @kellerpt,

    I need to show it 8 courses, not all

    Then enter “8” and hide the pagination with some custom CSS:

    .home .llms-pagination { display: none; }

    That will hide the pagination ONLY on your home page

    You can try this to remove the sidebar if it’s being output after adding the correct theme wrappers. Some themes *want* a sidebar here and if you don’t want it you can remove it:

    remove_action( 'lifterlms_sidebar', 'lifterlms_get_sidebar' );

    Hope that helps,

    Thread Starter kellerpt

    (@kellerpt)

    then the sidebar will disappear everywhere? The courses and lessons I need

    @kellerpt,

    It should only remove it from the catalogs. Did adding that remove it from your courses and lessons (it shouldn’t) but it’s possible that your theme has other plans. In which case you should reach out to your theme developers for assistance.

    Thanks,

    Thread Starter kellerpt

    (@kellerpt)

    Hello, Thomas!

    Thank you, it’s work.

Viewing 12 replies - 1 through 12 (of 12 total)

The topic ‘Acces plan showing’ is closed to new replies.