RC2: Element CSS stopped applying to $el .x-bg-layer-lower-image

Hi!

I had custom CSS inside a media query where the $el .x-bg-layer-lower-image was re-adjuting for the XS breakpoing. After updating this site to RC2, those rules stopped applying.

It seems that background image classes cannot be targeted from anywhere, not just from the Element CSS.

Thanks!

Could you let me know what styles you were trying to apply? I tested that selector and it still works so maybe it’s something with a specific rule.

For example, this will hide it:

$el .x-bg-layer-lower-image {
  display: none;
}

So maybe the style is getting applied, but overridden again elsewhere.

It was overridden. Sorry. :man_facepalming:

No worries! Better safe than sorry on stuff like this so I appreciate you reaching out about it just in case. I can appreciate with all the beta testing that sometimes it’s hard to know “what changed” as you’re constantly updating.

1 Like