Course Overview doesn't allow a line break

Hi, I am having a few problems with the way the course overview looks. I have tried various things with spacing. I am not bothered about it being in a large paragraph although it would be better if it wasn't. When I am looking at it there is perfect spacing after full stops in the dashboard version but when I go to the course view there are no spaces after full stops.

  • Luís

    Hi Gavin ,

    Hope you're doing well today!

    I checked your parent theme (EducationPress) and the "template-parts/content-course-overview.php" was stripping the HTML tags for the "excerpt", so, I replaced this code:

    <p class="excerpt"><?php echo strip_tags( get_the_excerpt() ); ?></p>

    by:

    <p class="excerpt"><?php echo get_the_excerpt(); ?></p>

    Now, the "Course Overview" section should be displaying as you want.

    Also, as requested during the Live Chat, I gave a look at the "terms and conditions" section from the checkout page and fixed the "checkbox" issue adding the following code in the "Quick CSS" section found in Appearances -> Theme Options -> Styles:

    .wc-terms-and-conditions label > span {
        float: left;
    }
    
    .wc-terms-and-conditions .checkbox input[type="checkbox"] {
        opacity: 1 !important;
        margin-top: 7px;
    }

    If I can help you in this or other related question, please let me know!

    Cheers, Luís

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.