Wiki source code of Richtig Falsch-Kennzeichnung ausblenden (CSS)
Last modified by Anna Paul-Hasenfuss on 01.10.2024
Hide last authors
| author | version | line-number | content |
|---|---|---|---|
![]() |
80.2 | 1 | {{section}} |
| 2 | {{column width="60%"}} | ||
![]() |
82.1 | 3 | The right/wrong tagging in ONYX is done with the icons for correct and incorrect answers. For some questions, users can derive correct solution from the tags. If no right/wrong tagging shall be carried out in the entire test, it can be configured in the question assessment settings by enabling the option "points achieved". |
![]() |
78.1 | 4 | |
![]() |
82.1 | 5 | If tags in the test shall** be prevented for specific questions only**, this can be achieved by using a CSS markup. This is possible for all other automatically evaluable question types except for the Hotspot task type. |
| 6 | |||
| 7 | |||
![]() |
80.3 | 8 | [[image:attach:Ausgeblendete Richtig-Falsch Icons_de.png||data-xwiki-image-style="img-screen" data-xwiki-image-style-border="true"]] |
![]() |
80.2 | 9 | {{/column}} |
![]() |
79.2 | 10 | |
![]() |
80.2 | 11 | {{column width="30%"}} |
![]() |
82.1 | 12 | {{panel title="Content"}} |
![]() |
80.2 | 13 | {{toc start="2"/}} |
| 14 | {{/panel}} | ||
| 15 | {{/column}} | ||
| 16 | {{/section}} | ||
| 17 | |||
![]() |
82.1 | 18 | == How to hide right/wrong tags == |
![]() |
78.1 | 19 | |
![]() |
82.1 | 20 | **Hiding right/wrong tags** means that there will not be any red or green check mark and no red cross displayed. |
![]() |
78.1 | 21 | |
![]() |
82.1 | 22 | If you wish to do so, use the following CSS code: |
![]() |
79.3 | 23 | |
| 24 | {{code language="css"}} | ||
![]() |
82.1 | 25 | .evaluation {display: none!important;} |
![]() |
78.1 | 26 | {{/code}} |
![]() |
79.2 | 27 | |
![]() |
79.4 | 28 | [[image:attach:Testdurchführung - alle Icons per CSS ausblenden_de.png||data-xwiki-image-style="img-screen" data-xwiki-image-style-border="true" width="500"]] |
![]() |
79.2 | 29 | |
| 30 | |||
![]() |
82.1 | 31 | == How to hide the tag for correct answers == |
![]() |
78.1 | 32 | |
![]() |
82.1 | 33 | **Hiding the tag for correct answers** means that there will no red check mark be displayed. |
![]() |
79.2 | 34 | |
![]() |
82.1 | 35 | To do this, use the following CSS code: |
![]() |
78.1 | 36 | |
![]() |
79.3 | 37 | {{code language="css"}} |
![]() |
82.1 | 38 | .notansweredbutcorrect {display: none} |
![]() |
78.1 | 39 | {{/code}} |
![]() |
79.2 | 40 | |
![]() |
79.4 | 41 | [[image:attach:Testdurchführung - Icon per CSS ausblenden_de.png||data-xwiki-image-style="img-screen" data-xwiki-image-style-border="true" width="500"]] |
![]() |
78.1 | 42 | |
![]() |
79.4 | 43 | |
![]() |
82.1 | 44 | == How to add a CSS file to a question or test == |
![]() |
79.4 | 45 | |
![]() |
82.1 | 46 | Save your statements in a CSS file (.css). Now you can upload this file as an **external file** in the **Options** tab under **Advanced settings**. Detailed instructions on this can be found here [[Set Options>>doc:ONYX.Erstellung von Testinhalten.Aufgaben.Optionen festlegen.WebHome]]. |
![]() |
79.4 | 47 | |
![]() |
82.1 | 48 | Please note: |
![]() |
79.4 | 49 | |
![]() |
82.1 | 50 | * If the CSS file is uploaded to a question, it will affect the layout of such. |
| 51 | * If the CSS file is uploaded to a test, all selection tasks of the entire test are designed accordingly. | ||
| 52 | * If the **Show all questions of a section per page** option is activated on the test, a CSS file on an individual question affects all questions in the same section. |
