Forum Discussion
White space below content
I ran into this issue when creating a dark mode theme. There is an element called .blocks-lesson that wraps around the lesson blocks and has a white background (always) it has a bottom padding of 95px (on large devices) you'll need to override this with custom css, or in my case I left that 95px padding in place and my dark background style is inherited to avoid that 'blank' space of 95px.
Hi Phil. Thanks for this. Now that we have code blocks, what should I paste there to do this globally. I tried to adapt your code, but it wasn't working for me.
- PhilFoss3 months agoCommunity Member
Mark, the Custom Code block is self-contained, it doesn't have any visual effect on the rest of your course. Similar to how an embedded Storyline block works within Rise. So I still recommend creating a CSS Theme Component.
- markzw2 months agoCommunity Member
Thanks, Phil. I ended up using the mighty plugin for this and some other tweaks, and it works like a charm.