A couple issues found on the CoursePress theme: - Unordered

A couple issues found on the CoursePress theme:
- Unordered lists don't have any bullet style defined
- Pages don't show the Sidebar widgets
- Looks like h2 and h3 styles are identical (need differentiation)

  • Michael Bissett

    Hey @msk5400, hope you're doing well today! :slight_smile:

    On the first point:

    Unordered lists don't have any bullet style defined

    I noticed that you're presently using a child theme for the default CoursePress theme, and this code is causing a bullet point to show up on the course categories list:

    ul {
    list-style-type: disc;
    list-style-position: inside;
    }

    By default, "list-style-type" is set to "none" for the widget area:

    .widget-area ol, ul {
    list-style: none;
    margin-left: 0px;
    }

    Are you wanting a bullet point to show up there? If not, then one solution you can try would be to use this CSS inside of your child theme:

    .cp_course_categories ul {
        list-style-type: none;
    }

    Pages don't show the Sidebar widgets

    Are you referring to the course pages, or pages in general?

    While the course pages are designed to be full width, you can adjust normal pages by choosing the "Page ( sidebar widgets )" template in the "Page Attributes" section (when creating/editing a page).

    Looks like h2 and h3 styles are identical (need differentiation)

    Could you provide an example of this please? :slight_smile:

    Kind Regards,
    Michael

  • msk5400

    Hi Michael, thanks for the response.

    Point 1:
    I did that because the CoursePress theme didn't have a list-style-type, even in the main content area.

    Point 2:
    I was referring to general pages. I updated the Page to "Page (sidebar widgets)", but then the WPMU Ultimate Facebook plugin adds Facebook commenting to the page (which I don't want).

    Point 3:
    I was wrong. The <h2> is 26 px, and <h3> is 24 px. Seems too close in size, but maybe it's just a matter of preference for me, and easy for me to adjust.

    I would appreciate a follow up response to Point 2.

    Thanks!

  • Ash

    Hello @msk5400

    When you select a WordPress page, you can add the following code in the editor in which pages you don't want to show fb comments:

    <style>
    .wdfb-fb_comments{display: none !important;}
    </style>

    So, for example:

    [cp_pages page="student_dashboard"]
    <style>
    .wdfb-fb_comments{display: none !important;}
    </style>

    Hope it helps :slight_smile: Please feel free to ask more question if you have.

    Cheers
    Ash

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.