[Resolved] Our old friend, LifterLMS :)

Home Forums Support [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 πŸ™‚

    #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 πŸ™‚

    #446567
    Lyle

    PERFECT! πŸ™‚

    Thanks you Tom! πŸ™‚

    #446570
    Tom
    Lead Developer
    Lead Developer

    You’re welcome! πŸ™‚

    #648326
    Paul

    oh man Tom, you’re awesome.

    #648579
    Tom
    Lead Developer
    Lead Developer

    Haha, thank you!

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