Skip to content
Menu
Project notes: Critical Thinking Cap

All notes technical, creative, administrative, etc.

  • Home
  • Resources
  • Evolution
    • Lesson content pages
    • Subtopic listing page
    • Topic listing page
    • Lesson listing page
  • Critical Thinking Cap
Project notes: Critical Thinking Cap

All notes technical, creative, administrative, etc.

Fixing the formatting flubbed by my last fix

By Marcia on May 9, 2023May 9, 2023

My last fix involved improving the formatting of Likert survey questions. The fix worked great on the survey questions themselves, and all was well until . . .

. . . I revisited the quiz from the Building Blocks of Arguments topic, which had several fill-in-the-blank questions that now looked like this:

Yikes! In the first example, the blank takes up both lines of the question; in the second, the line is force justified, in a way. Neither is as it should be!

Fortunately, the fix seems to be just removing the “display: flex:” from those <p> elements.

Also fortunately, it was likely that I could just target this particular quiz (#5, apparently) and take the flexbox specification off the <p> elements therein, as judging by the selectors copied from each question:

I was able to simplify the selector so I could include all <p> elements within that quiz. I replaced “display: flex” with “display: block” and everything was well again.

So, yes, it’s just a band-aid. But all is well for now until I, say, want to add a Likert scale to a question in Quiz #5 or need to fix the formatting of fill-in-the-blank questions for other quizzes. But for now, I’m good.

Category: LearnDash, WordPress
Tags: CSS, Flexbox, quizzes, troubleshooting

Post navigation

Fixing the formatting of Likert scales in survey questions

Related Posts

Mitigating quiz and topic progression woes

April 27, 2023
Read More

The LearnDash Course Grid

February 6, 2023
Read More

Adding a contact form

April 4, 2023
Read More
©2025 Project notes: Critical Thinking Cap | WordPress Theme by Superb WordPress Themes