Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1176916

    For some reason after updating my theme, there are too many closing div tags that are causing CSS issues with other plugins. There are 256 opening <div> tags and 261 closing div tags </div>. Please help at your earliest convenience. If I remove all Avia content the plugin css renders correctly.

    #1177280

    Hey ryanqb,

    Can you give us temporary admin access to your website in the private content box below, so that we can have a closer look?

    Best regards,
    Victoria

    #1177288

    Thank you

    • This reply was modified 4 years, 10 months ago by ryanqb.
    #1177821

    Hi ryanqb,

    Best regards,
    Victoria

    #1177828

    The Course Content section is what’s broken. This happened after the last update.

    #1178397

    Hi,
    I took a look at your page and found that your “learn dash” css requires the class “learndash-wrapper” for the section in question, but this class has not been applied. I don’t see any errors for this and I don’t see a way to add the class properly though the backend, and since I have not worked with this plugin before so I recommend asking the learn dash support if they have seen this before.
    I can not imagine anything in Enfold that would remove any classes. I do see that you have a custom “course.php” in your child theme that I assume is used to create this page but the other classes are not matching up so I don’t want to try editing it. Perhaps whoever created this for you will be better suited to modify it.
    But if none of this helps you I wrote this script to add the class for you based on the page you linked to. Try adding this code to the end of your child theme functions.php file in Appearance > Editor:

    function add_learndash_wrapper(){
      ?>
      <script>
    (function($){
      $(document).ready(function(){
      $(".ld-item-list.ld-lesson-list").addClass("learndash-wrapper");
      });
      })(jQuery);
      </script>
    <?php
    }
    add_action('wp_footer', 'add_learndash_wrapper');

    expected results:
    2020-01-25-123507

    Best regards,
    Mike

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