Forum Discussion

JoanneBaguley's avatar
JoanneBaguley
Community Member
4 months ago

Lesson header formatting

Hi all,

We use the L content width in our blocks where possible, to maximize real-estate on the page. We found however that the lesson headers do not align left when we do this, which looks pretty bad.  As a workaround we tried disabling lesson headers and using a heading block, which does align and looks better, but there is still a block of empty white space at the top of the page where the lesson header used to be. It seems turning the lesson headers off just hides the text but leaves the block in place. Does anyone know a solution for either aligning the lesson headers or removing the white space?

Thanks.

  • Found a workaround posted by Tim_ (thanks!)

    Lesson Headers may still take up space, inconsistently.

    Try this:

    1. Go to lesson headers
    2. Select a style
    3. Set Header Height to small
    4. Save
    5. Go back to lesson headers
    6. say 'Hide Lesson Headers'.
    7. The header is gone, but it still takes up the same space. Confirmed true after publishing as well.

    Then try this:

    1. Go to lesson headers
    2. Show the lesson header and change the height to Medium or Large
    3. Save
    4. Go back to lesson headers
    5. say 'Hide Lesson Headers'.
    6. The header is gone, and the space is collapsed, as it should be.

    It's something funky with styles, because the way they've implemented hiding lesson headers is that the lesson header object still exists in the source of the page, it's just not visible.

  • Found a workaround posted by Tim_ (thanks!)

    Lesson Headers may still take up space, inconsistently.

    Try this:

    1. Go to lesson headers
    2. Select a style
    3. Set Header Height to small
    4. Save
    5. Go back to lesson headers
    6. say 'Hide Lesson Headers'.
    7. The header is gone, but it still takes up the same space. Confirmed true after publishing as well.

    Then try this:

    1. Go to lesson headers
    2. Show the lesson header and change the height to Medium or Large
    3. Save
    4. Go back to lesson headers
    5. say 'Hide Lesson Headers'.
    6. The header is gone, and the space is collapsed, as it should be.

    It's something funky with styles, because the way they've implemented hiding lesson headers is that the lesson header object still exists in the source of the page, it's just not visible.

    • KarlMuller's avatar
      KarlMuller
      Community Member

      Open Course.

      Select Theme.

      Select Lesson Headers.