Divs stopped rendering dynamic backgrounds on frontend

Description:

After the update to 1.2.1 divs stopped rendering background images on frontend (renders in the editor). Dynamic - WordPress, featured images of posts.

Step-by-step reproduction instructions:

Please write the steps needed to reproduce the bug.

  1. Create a div in the query.
  2. Set the background image of this div to WordPress > Featured Image.
  3. Renders on the editor, but not on frontend.

Environment info

  • WordPress version: 6.0.2
  • Gutenberg Plugin version: -
  • Cwicly Plugin version: 1.2.1
  • Cwicly Theme version: 1.0.3

Hello @mantasb,

Sorry for the trouble with this.
It should be fixed in 1.2.1.1

If you’re still experiencing trouble, please let me know.

Thanks.

It for sure works with 1.2.1.1! :slight_smile:
I have another problem with modal now:
It stays open all the time… I had it on button action to open.

Hi @mantasb,

Sorry to hear about that.
It sounds unusual as the modal does require some type of action to be opened.

Does it open automatically when you load the page or is it not possible for you to close it?

Just to make sure, have you regenerated your HTML and block CSS?

It’s always open on load. Not possible to close it, but it changes some css when clicking on open and close buttons. (I’m using chrome dev tools to imitate mobile).

Clicking on open it sets style to overflow:hidden
image

Clicking on close removes it:
image

That overflow property is to hide the scrollbar (if activated).

Do you have the Appear: On Load property activated?

No. I’ve had Appear: Never and also tried Appear: OnClick

Hi @mantasb,

Could you possibly try clearing your browser cache to see if that helps fix this issue?

Thanks.

Yes, that was the problem. Sorry, forgot to do it after plugin update. :frowning: