0

Spoiler style

Hi, is there any way of changing how the "spoiler" displays?
eg. the font size of "data-hide-text" and "data-reveal-text".

Thanks

5 replies

null
    • Customer Success and Onboarding Associate
    • Ferry_Darmadi
    • 1 yr ago
    • Reported - view

    Hi Janny,

    Thanks for getting in touch.

    Yes, you can change the display by using the Source Code feature in the text widget as described in the article below:

    https://help.openlearning.com/t/y79tn9/how-do-i-change-font-size-and-style-in-the-text-widget#advanced-methodsupported-inline-css-properties-in-the-text-widget

    Example of changing the font size and color in spoiler:

     

    Hope this is what you are looking for?

      • Janny_Chen
      • 1 yr ago
      • Reported - view

       Hi Ferry, thank you for your reply.
      I'm not talking about the font size for the content of the spoiler, but the font size of the spoiler heading - Click to Hide or Click to Reveal.

      Thanks

      • Customer Success and Onboarding Associate
      • Ferry_Darmadi
      • 1 yr ago
      • Reported - view

       

      Thanks for the confirmation. 

      It's not possible to change the font size of the spoiler heading at the moment.

      Please let us know if you have any further questions.

      • Janny_Chen
      • 1 yr ago
      • Reported - view

       

      Thanks for the confirmation.

      Cheers

      • Customer Success and Onboarding Associate
      • Ferry_Darmadi
      • 1 yr ago
      • Reported - view

       

      You're welcome. Have a great week ahead.

Content aside

  • 1 yr agoLast active
  • 5Replies
  • 25Views
  • 2 Following