[Support request] Sensei LMS

Home Forums Support [Support request] Sensei LMS

Home Forums Support Sensei LMS

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
  • #1816456


    Using Sensei LMS plugin but several pages do not respond to disabling elements or changing the layout to without sidebar.
    I disabled all plugins and checked but it only seems to be a problem iwthin Sensei and Generate Press.

    Any extra functions to add to fix this?

    Thank you,

    Customer Support

    Hi there,

    can you share a link to a page where we can see the problem? Most likely Sensei is using its own templates – but we can take a look


    Hi David,

    Thank you!


    You will notice the sidebar pushed downwards. However, this courses page should not have a sidebar.

    With the Sensei LMS documentation there is some support for compatibily issues and they provide the following function:

    add_action( 'after_setup_theme', 'declare_sensei_support' );
    function declare_sensei_support() {
        add_theme_support( 'sensei' );

    I added this one but no change.

    Customer Support

    Hi Martin,

    Can you try making a Layout Element that disables the sidebar using this display rule location?

    I tried replicating the layout by installing Sensei LMS on my sandbox site and this seems to work.

    I didn’t need to apply the snippet you’ve provided.

    Let us know how it goes.

    A wise man once said:
    "Have you cleared your cache?"


    Hey Elvin,

    Thanks for working on this!

    Yes, I already have a Layout Element with no sidebar, plus no Top Bar and no Main Navigation.

    I think only the pages that are overridden by the LMS only do not follow the layout element, like Courses overview page: https://www.canadagogreen.com/courses-overview/

    Inside the course: https://www.canadagogreen.com/course/registered-installer/ it actually works well.


    Customer Support

    Ah yeah now I see the difference.

    I did a comparison of DOM structure w/ your site and my sandbox

    On my sandbox, here’s the page source –
    https://share.getcloudapp.com/nOuPeQER (doesn’t get identified as archive page)

    On your site, here’s the structure –
    https://share.getcloudapp.com/wbu6W51Z (different selectors, the page is identified as archive page)
    https://share.getcloudapp.com/12u4NQxw (structure is different)

    As David mentioned, it seems like Sensei LMS is using its own template.

    But what’s strange here is that it works on my end, meaning there may be something customized on your site that prevented the layout element from working.

    Can you share the Sensei LMS version you’re using? My sandbox site uses Version 3.11.0.

    A wise man once said:
    "Have you cleared your cache?"


    Hi Elvin,

    I have the same version (3.11.0).

    At your sandbox are you checking the Courses page? on that page I added the Learner Courses block from Sensei

    Sense offers the following documentation for theme compatibility: https://senseilms.com/documentation/enabling-theme-support/

    Is this a wrapper conflict with their template and generatpress? How to code into the functions and prevent them to override the theme. By the end of the page they describe how to take control of the wrappers.

    Thanks again for your great support!!

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.