• Resolved khunmax

    (@khunmax)


    Ken

    I need to go live with a site I have just developed.

    I am using the GeneratePress theme. GP is a popular and very well coded theme.

    GeneratePress allows you to style each page and disable page features.

    A core feature of my new site is your LearnPress plugin.

    On the LP Course page I have selected no sidebars option in GP theme.

    I have also selected no footer option.

    However, your plugin overrides/breaks these settings and adds a right sidebar and footer to the courses page.

    I have already:

    1. Cleared caching and can confirm not a caching issue.

    2. Formatted all other LP pages with no side bar or footer in the GP theme. The issue is only with the LP Courses page.

    3. Installed your plugin (with no other plugins) on a new GP theme install and can confirm that the bug comes from your plugin and not because of some conflict with another plugin.

    4. Created a new page that I formatted in GP with no sidebars and no footer. Then I added it as the courses page in the LP settings. Upon saving the new settings, your plugin added a right sidebar and footer to the new page.

    5. Tried to remove the right sidebar and footer added to the courses page by your plugin using page specific CSS. However, your plugin also overrides that css and inserts a sidebar and footer.

    Please let me know what other information you need to resolve this issue.

    I can:

    1. Provide you with access to a beta site demonstrating this problem
    2. Provide you with any required screenshots

    Thank you in advance for your kind assistance.

    Regards

    Max

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Ken Nguyen

    (@kendy73)

    Hi Max,

    Please take a look at this topic. https://wordpress.org/support/topic/cannot-remove-sidebar-and-footer-from-course-page/#post-9646555

    There is another way, using a CSS code, I can help you do that. Just show me the course page URL. You can post the URL here, or send it to candy@thimpress.com with subject “khunmax – LearnPress Support”.

    Regards,

    Ken

    Thread Starter khunmax

    (@khunmax)

    Ken

    Thanks for your reply.

    After loosing many hours on this problem I had already discovered that the courses page is an archive page (why is that?).

    And why does your plugin override the GP theme page settings and insert a footer and sidebar?

    I wrote the following CSS to hide the unwanted elements and ensure the course page is full width:

    /* Remove sidebar and footer from courses page */
    .post-type-archive-lp_course .footer-widgets, 
    .post-type-archive-lp_course .widget-area .widget,
    .post-type-archive-lp_course .site-info,
    .post-type-archive-lp_course .entry-title {
        display: none;
    }
    
    #post-16 .inside-article {
        width:100%;
    }

    Please let me know if you think that there is any problem with my CSS.

    Thanks for your kind assistance.

    Regards

    Max

    Plugin Contributor Ken Nguyen

    (@kendy73)

    Hi Max,

    The custom CSS code is okay.

    Like any other plugins, a single page is for only 1 item, and an archive page is for all those items.

    I’m glad that you find a solution.

    Regards,

    Ken

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

The topic ‘LEARNPRESS CONFLICT WITH GENERATEPRESS THEME’ is closed to new replies.