LearnDash errors with Bootstrap CSS


/ Published in: HTML
Save to your folder(s)

I'm using the learndash shortcode:
[ld_course_list categoryselector=true col=3]

The HTML it outputs is missing a div with class=row. When you're using Bootstrap, you need a "row" div if you want to put col divs inside of other col divs. You also have everything inside of a <strong> tag, which is clearly an error.

What you should do is a) rid of the <strong> tag, and b) you should add a after the ld_categorydropdown div that closes where the </strong> currently is.

You might ask why I care. I care because I'm trying to style this thing, and the boxes/columns don't line up properly if they aren't in a "row".

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.