• Resolved go_go_minde

    (@go_go_minde)


    I made a max-width of the mTouch quiz, but anyway when a quiz is finished I always get a message:

    Once you are finished, click the button below. Any items you have not completed will be marked incorrect.
    Get Results

    And it looks like a width of this text is fixed somehow to 949px. I cannot find how to change this width. Can you help me?

    Code I see from Chrome “Inspect element”:

    <div id="mtq_results_request-1" class="mtq_results_request mtq_scroll_item-1" style="width: 948px;">
            Once you are finished, click the button below. Any items you have not completed will be marked incorrect.        <span id="mtq_results_button-1" class="mtq_action_button mtq_css_button mtq_results_button" onclick="mtq_get_results(1)"> <span class="mtq_results_text">
            Get Results        </span> </span> </div>

    https://www.ads-software.com/plugins/mtouch-quiz/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter go_go_minde

    (@go_go_minde)

    Code in the show_quiz.php :

    <div id="mtq_results_request-<?php echo $mtqid ?>" class="mtq_results_request mtq_scroll_item-<?php echo $mtqid;?>">
            <?php _e('Once you are finished, click the button below. Any items you have not completed will be marked incorrect.', 'mtouchquiz'); ?>
            <span id="mtq_results_button-<?php echo $mtqid ?>" class='mtq_action_button mtq_css_button mtq_results_button'  onclick='mtq_get_results(<?php echo $mtqid ?>)'> <span class="mtq_results_text">
            <?php _e("Get Results", 'mtouchquiz'); ?>
            </span> </span> </div>
          <?php } ?>
          <?php if (!$single_page) {?>
        </div>

    Maybe it is possible not to show this final screen but instead of that to show answers?

    I tried to disable “Display Quiz Final Screen after quiz.”, but all it does it shows a blank window where I need to choose list or go back. As I asked, maybe it is possible to go straight to answers (list)?

    Thread Starter go_go_minde

    (@go_go_minde)

    Do you know where do I get this from?

    style=”width: 948px;”

    I cannot edit it in css as it is an element style and it is not in show_quiz.php

    Plugin Author gmichaelguy

    (@gmichaelguy)

    This is dynamically set to be the maximum available space. if you want to make it smaller, put your quiz inside a fixed width div.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘how to change fixed width of results’ is closed to new replies.