Community forum for knowledge and support

Updated 9 months ago

Adjusting Background Images with Padding Classes

At a glance

How do most folks allow Editors to change the background image on components with padding class that “covers” the image? For example, section_header54:

N
1 comment

For anyone else looking, I’m not sure if this is best practice since the components don’t come out-of-the-box like this, but my fix was:

  1. On the max-width-large and header54_background-image classes, add the z-index-1 class to bring them to the “front”.
  2. On the image-overlay-layer div, change the pointer events property to None. Alternatively add the point-events-none class.

Add a reply
Sign up and join the conversation on Slack