Title: Question format issue
Last modified: June 30, 2021

---

# Question format issue

 *  Resolved [nbcampus](https://wordpress.org/support/users/nbcampus/)
 * (@nbcampus)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/question-format-issue/)
 * Hello
 * I am preparing a quiz for Java exam. As you know java code have a predefined 
   format and I can’t use simple text alignment for Java code.
 * I tried my level best to format the question but in exam question are being shown
   without any format i.e. even if I write question with proper formatting, that
   formatting is automatically disappering in quiz exam.
 * Is there a way else it’s big headache for me. Fyi, I am using pro version.
 * Regards
    Neeraj
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fquestion-format-issue%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Author [Ays Pro](https://wordpress.org/support/users/ays-pro/)
 * (@ays-pro)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/question-format-issue/#post-14611942)
 * Hi dear [@nbcampus](https://wordpress.org/support/users/nbcampus/),
 * Thank you for the topic.
 * There is an option called **Question text alignment** in the Style tab.
    See 
   the screenshot: [https://ibb.co/Q9xpGZh](https://ibb.co/Q9xpGZh)
 * But, please note that it applies to only <p> tags inside the questions.
    We checked
   your quiz and noticed that they are under <p> tags, though we can provide you
   Custom CSS as well.
 * Please copy the following CSS and paste it into the Custom CSS field of the given
   quiz. ( Quiz Maker → Quizzes → the given quiz → Styles tab → Custom CSS)
 * Please note to change the YOUR_QUIZ_ID to the given quiz ID of yours. (do not
   delete the space after it)
 *     ```
       div#ays-quiz-container-YOUR_QUIZ_ID .ays-questions-container .ays_quiz_question,
       div#ays-quiz-container-YOUR_QUIZ_ID .ays-questions-container .ays_quiz_question * {
       	text-align: left;
       }
       ```
   
 * Please delete all caches afterward.
 * For further support, please contact us via [this form ](https://ays-pro.com/contact).
   Our customer care specialists will always be happy to help you.
 * Commercial products are [not supported in these forums](https://wordpress.org/support/guidelines/#do-not-post-about-commercial-products).
 * Thank you.
    -  This reply was modified 4 years, 10 months ago by [Ays Pro](https://wordpress.org/support/users/ays-pro/).

Viewing 1 replies (of 1 total)

The topic ‘Question format issue’ is closed to new replies.

 * ![](https://ps.w.org/quiz-maker/assets/icon-256x256.png?rev=2174282)
 * [Quiz Maker by AYS](https://wordpress.org/plugins/quiz-maker/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/quiz-maker/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/quiz-maker/)
 * [Active Topics](https://wordpress.org/support/plugin/quiz-maker/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/quiz-maker/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/quiz-maker/reviews/)

## Tags

 * [code](https://wordpress.org/support/topic-tag/code/)
 * [format](https://wordpress.org/support/topic-tag/format/)
 * [java](https://wordpress.org/support/topic-tag/java/)
 * [pro](https://wordpress.org/support/topic-tag/pro/)

 * 1 reply
 * 2 participants
 * Last reply from: [Ays Pro](https://wordpress.org/support/users/ays-pro/)
 * Last activity: [4 years, 10 months ago](https://wordpress.org/support/topic/question-format-issue/#post-14611942)
 * Status: resolved