Black Friday Sale! Get up to $40 off GP Premium!Learn more

[Resolved] Our old friend, LifterLMS :)

Home Forums Support Our old friend, LifterLMS :)

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #446556
    Lyle

    Hi Tom,

    Looking into this again and I am wondering if there is some “magic code” that can make the right sidebar on the Course and Membership Catalog pages appear on the right, as opposed to below the contents and aligned left, of these as they are now displayed.

    I tried every selector that I thought may do the job, but alas, to no avail 🙂

    Note that the Lifter Labs plugin does the job for the Course Syllabus and Course Progress in their respective locations 🙂

    Cheers!
    Lyle

    PS > this is free hosting so please be patient for the first page load 🙂

    http://snifflevalve.com
    Tutorials and tips for GeneratePress, WP Show Posts, WordPress and Elementor

    GeneratePress 2.0
    #446562
    Tom
    Lead Developer
    Lead Developer

    Something like this might do the trick:

    add_action( 'lifterlms_before_main_content', 'tu_llms_content_wrapper_open' );
    function tu_llms_content_wrapper_open() {
    ?>
        <div id="primary" <?php generate_content_class();?>>
            <main id="main" <?php generate_main_class(); ?>>
                <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
    	        <div class="inside-article">
        <?php
    }
    
    add_action( 'lifterlms_after_main_content', 'tu_llms_content_wrapper_close' );
    function tu_llms_content_wrapper_close() {
    ?>
                    </div><!-- .inside-article -->
                </article><!-- #post-## -->
            </main><!-- #main -->
        </div><!-- #primary -->
    <?php
    }
    #446566
    Lyle

    oops! remove the “e” from the user name 🙂

    http://snifflevalve.com
    Tutorials and tips for GeneratePress, WP Show Posts, WordPress and Elementor

    #446567
    Lyle

    PERFECT! 🙂

    Thanks you Tom! 🙂

    http://snifflevalve.com
    Tutorials and tips for GeneratePress, WP Show Posts, WordPress and Elementor

    #446570
    Tom
    Lead Developer
    Lead Developer
    #648326
    Paul

    oh man Tom, you’re awesome.

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