WAIT: ACF image as fixed backgroud does not work

Browser: Chrome
OS: Windows
Video: Jam

I created custom post types, field groups and a template where I mapped all the data from the ACF. For this template I want to use a flexible background image (which is set in the various ACF CPT). But it doesn’t work with dynamic data, only when I set a image from libary. It shoulb be loaded and displayed from ACF, not static.

Does anyone has a idea what to do?

Best
Hannes

1 Like

Hi @Hannesy,

Can you please try clearing your cache and upgrading to the latest Bricks version? we received a similar report which was fixed by clearing it: NO BUG: Background image does not preview in ACF flexible content - #3 by Arvoisa.

If the issue persists can you please share temporary admin access to help@bricksbuilder.io with a link to this thread so I can try replicating it?

Hey @charaf thanks for replying. I’ve cleared the cache and updated to 1.9 but still the issue.

Hi @Hannesy, can you please share temporary admin access to help@bricksbuilder.io with a link to this thread so I can try troubleshooting it?

Hi @charaf , sorry cant do this, because of GDPR reasons, its a clients project. Is there another way to solve the issue?

Hi @Hannesy,

I understand :slight_smile: As I’m unable to replicate this locally, is there another way you could replicate the issue on a staging demo site?

I also noticed that the report is for Bricks v1.8.3, could you maybe try upgrading to the latest version?

Hey @charaf I created a staging testing stage and send you the password to WP via mail (help@bricksbuilder.io) :slight_smile:

Hi @Hannesy,

Thank you for creating the staging environment and sharing access :slight_smile:

I think you may have forgotten to include the template condition:

Now when I visit the dummy product you’ve created I can see the background image as expected:

Let me know if I’m missing something maybe?

It could also be that you needed to regenerate your CSS files after switching to external files as the loading method for CSS.

Hi @charaf thank you! I mean the the image should be in background like here on screenshot. It works with image from media library, but not with ACF dynamic data.

Hi @Hannesy,

Oh, I understand which background image you’re talking about now. It’s not showing up when you’re running that flexible container loop on the section. E.g. when I add a child div to run the loop on:

Although I’m a little confused about the setup so let me know if this can’t work or not what you’re expecting.

Thanks @charaf ! Now it works :slight_smile:

1 Like