unable to make the stimuli font bigger

PennController for IBEX Forums Support unable to make the stimuli font bigger

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #8249
    Loid
    Participant

    Hi Jeremy,

    I want to conduct an acceptability judgement task and make the stimuli font bigger (not any other instructions).
    But I’m not sure how to do it.
    I use js file for items. Dose something have to be added to PennController.js in Modules to make the stimuli font bigger?

    Loid

    #8257
    Jeremy
    Keymaster

    Hi Loid,

    My apologies for the late reply. You can make a font bigger by setting the CSS rule font-size that targets the relevant HTML nodes

    Assuming you are using the native-IBEX AcceptabilityJudgment controller, which is composed of the FlashSentence controller to render the s parameter and the Question controller to render q and as, you can edit the file FlashSentence.css in your project’s Aesthetics folder to modify the font size of the s parameter by adding:

    p.FlashSentence {
        font-size: 3em;
    }

    To change the font size of the q and as parameters, you can edit the file Question.css and add:

    p.question-text {
        font-size: 4em;
    }
    li.normal-answer {
        font-size: 2em;
    }

    Note that those changes will affect any other item using the FlashSentence and/or the Question controller

    Jeremy

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.