Issue with changing font size in FlashSentence and AcceptabilityJudgment

PennController for IBEX Forums Support Issue with changing font size in FlashSentence and AcceptabilityJudgment

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #8107
    RadLacina
    Participant

    Hi!

    I’ve been having an issue changing the font size for my experimental items in the FlashSentence and AcceptabilityJudgment controllers. My items are a combination of DashedSentence (speeded acceptability), FlashSentence, and AcceptabilityJudgment. I want to have size 30 in all of them. I created a global_z.css file which includes the following code:

    .FlashSentence-sentence {
    font-size: 30;
    }
    .DashedSentence-sentence {
    font-size: 30;
    }
    .AcceptabilityJudgment-sentence {
    font-size: 30;
    }

    The font size is correct for the DashedSentence controller, but nothing changes for the other two. Does anyone know what the issue might be? FYI, the code was transferred from the original IbexFarm.

    Many thanks in advance!
    Radim

    #8109
    Jeremy
    Keymaster

    Hi Radim,

    FlashSentence and AcceptabilityJudgmentSentence do not introduce a node with a class name of the form CONTROLLERNAME-sentence the way DashedSentence does, but of the form CONTROLLERNAME-flashed-sentence. So do this instead:

    .FlashSentence-flashed-sentence {
        font-size: 30;
    }
    .DashedSentence-sentence {
        font-size: 30;
    }
    .AcceptabilityJudgment-flashed-sentence {
        font-size: 30;
    }

    Jeremy

    #8115
    RadLacina
    Participant

    Ah, my bad! Thank you very much, it’s working now 🙂

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