Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1011761
    Josiah W
    Participant

    I am having problems integrating Sensei into X Theme. I know X Theme does not YET support Sensei but I am hoping like Avada theme that will change soon.

    I have followed this post as closely as possible: https://community.theme.co/forums/topic/sensei-plugin-creates-course-pages-which-are-displayed-incorrectly/

    But, it seems that with the newer version of X Theme this fix no longer works.

    The main issue is getting the sidebars to work properly. The sidebar seems to be below the content but mostly hidden. You can see an example page of where I am having this issue here: http://learn.permaethos.com/lesson/introduction/

    I added this code (recommended by a Sensei user) into the functions.php file: https://support.woothemes.com/hc/en-us/articles/204400955

    This is the response I got from Woothemes support when asking them about it:
    “It looks like the sidebar in your theme is being added within the same div as the entry content. I don’t specifically see anything in your functions.php that would cause that. Maybe look at the single.php? Did you make any changes there? It may be helpful to ask their folks to take a look too.”

    I have not done anything with the single.php file or know what that is for.

    Any help would be appreciated.

    #1012215
    Darshana
    Moderator

    Hi there,

    Thanks for writing in! Upon checking your example page, this is how your page loads (https://snag.gy/V9dMZa.jpg). Were you able to resolve the issue?

    Thanks!

    #1013103
    Josiah W
    Participant

    Try now, I have changed back to X theme.

    #1013590
    Darshana
    Moderator

    Hi there,

    The issue is that your code added into the x-main div. For example you may follow the example below and add it into your child theme’s functions.php file to see how you display some content same as sidebar.

    
    function add_before_my_siderbar() 
    {
    ?>
    	<div class="x-sidebar right"><h5>This is my content!</h5></div>
    <?php
    }
    add_action( 'get_sidebar', 'add_before_my_siderbar' );
    

    Hope that helps.

    #1015461
    Josiah W
    Participant

    Thank you. I am not sure what you mean by “The issue is that your code added into the x-main div.”

    I added the code you provided to the end of my child themes functions.php but it did not make a difference.

    #1015520
    Rad
    Moderator

    Hi there,

    It’s working, confirmed that from HTML source code. The problem is it appears within entry wrappers. Hence, your layout structure is malformed.

    Would you mind providing your admin and FTP login credentials in private reply?

    Thanks!

    #1055971
    ms999k
    Participant

    I am having the same problem with the sidebar being shifted below Sensei content. For example: http://www.bespokedrivertraining.com/elearning/elearning-courses/

    Is there now a fix? Is it possible to turn off the sidebar on pages that Sensei creates to display course and lesson content?

    #1056149
    Paul R
    Moderator

    Hi,

    It looks like there are missing html div tags in your page.

    Kindly create a new topic and provide us your wordpress admin login on a separate private reply.

    Thanks

  • <script> jQuery(function($){ $("#no-reply-1011761 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>