Questions that include an audio player have incorrect appearance
Welcome to QSM Support Forum. › Forums › QSM Pro Support › Questions that include an audio player have incorrect appearance
- This topic has 32 replies, 5 voices, and was last updated 1 month ago by daisy maria.
-
AuthorPosts
-
July 23, 2020 at 2:28 pm #5040Kriti SharmaKeymaster
Hi Paul,
I apologize, but it existed in the previous versions of the plugin also. I will ask the developers to fix this in the next version release. Meanwhile, please paste the following CSS code in the Appearance -> Customize -> Custom CSS
.mlw_qmn_new_question{
display: inline;}Please let me know whether this fixes the issue or not.
Kind regards,
KritiJuly 24, 2020 at 12:14 am #5054Paul Borg-BarthetParticipantHi Kriti
.mlw_qmn_new_question{
display: inline;} did not fix the issue. Still having the same issue.
Paul
July 24, 2020 at 12:41 am #5055Bob EastonParticipantPaul,
Bob Easton here. I am not part of QSM support. I reported the problem originally many versions ago, and have a solution that works for me.Go back to my Feb 11 post. One part of the code includes the display:inline that Kriti suggests. It sounds like you need the other bit of code that I suggested. It provides margin space to the left of the title to accommodate the question number. Use BOTH of those pieces of code, and you’ll probably have a solution.
July 24, 2020 at 1:34 am #5056Paul Borg-BarthetParticipantHi Bob
I tried using both of the pieces of code that you suggested from the Feb 11 post but with no luck. When I pasted the two bits of code into the custom css I got this message: Markup is not allowed in CSS.
July 24, 2020 at 1:36 am #5057Bob EastonParticipantGot it.
I put both of those lines of code into my theme’s style.css file.
wp-content > themes > whatever-your-theme-is > style.cssJuly 24, 2020 at 1:40 am #5058Paul Borg-BarthetParticipantHi Bob
Have you found a solution> Not sure I understood your last message.
July 24, 2020 at 1:50 am #5059Bob EastonParticipantYes Paul. The solution is to put both of those bits of code into the theme’s style.css file.
July 24, 2020 at 1:57 am #5060Paul Borg-BarthetParticipantHi Bob
I did that and got an error message. ‘Markup is not allowed in CSS’.
July 24, 2020 at 2:06 am #5061Bob EastonParticipantUse THIS code in the style.css file. NOT in any QSM custom css file.
/* make room for question number */
.quiz_section .mejs-container {
margin-left: 40px;
}
/* allow question nbr and audio player on same line */
.mlw_qmn_question {display: inline !important;}/* for audio in related lessons area */
.related .mejs-container {
width: 75% !important;
margin: auto !important;
}July 24, 2020 at 2:51 am #5062Paul Borg-BarthetParticipantHi Bob
Went to Appearance>themes.Twenty Twenty: Stylesheet (style.css) and pasted your code.
The numbers are still not in line with the headings.
July 24, 2020 at 10:12 am #5065Bob EastonParticipantPaul,
(I’m awake now. Many time zones away from you.)
Taking another look at your particular example. Mine was a matter of putting an audio player on the title line of a question. Yours is a matter of simple text in the question title line. My code targeted the audio player container. That’s why it doesn’t work for you.A hunch:
Are your question titles inside paragraph tags? <p>Choose the best answer to complete the sentence.</p> If yes, get rid of those tags.
Other than that hunch, it must be something else: quiz settings, quiz style, or maybe the theme.
(I would need admin access to your site, or screenshots of some of the quiz editing pages to know for sure.)July 24, 2020 at 5:01 pm #5077Kriti SharmaKeymasterHi Paul,
Can you share the website’s admin credentials with me so that I can look at the quiz and paste the required code? Please make sure to set the message as required before sharing the credentials.
Kind regards,
KritiJuly 25, 2020 at 1:52 am #5080Paul Borg-BarthetParticipantThis reply has been marked as private.July 25, 2020 at 6:01 am #5081Kriti SharmaKeymasterHi Paul,
I pasted the required CSS code in the Additional CSS section. And now the questions are inline with the ques nos. Please check.
I hope the issue is resolved now.
Kind regards,
KritiJuly 25, 2020 at 6:06 am #5082Paul Borg-BarthetParticipantHi Kriti
You are amazing! Thank you ever so kindly.
Take care and have a great day!
Paul
-
AuthorPosts
- You must be logged in to reply to this topic.