Site logo

Archived topic

ACF in a container background image

8 replies · Started by David on May 16, 2022

Viewing posts 1–9 of 9

Hello

I'm trying to set up ACF background images on containers with generateblocks.

I've set the ACF image to accommodation_image but when I view on the page it's just a blank white box

image

See above the accommodation box here...
https://www.catchfrenchmanor.com/
P: catchfrench

Thanks
Dave

Hi there,

select the container you added the ACF background image to, and in the sidebar Background add a static Background Image, this will provide something for GP to swap for your ACF image.

Hi David

I've done that, but it's still not swapping out.

Thanks
Dave

In your ACF field can you make sure the Return Format is: Image ID

Changed it to Image ID and still nothing, are you able to login, and see what I'm doing wrong?

Ah - its because its an ACF group - what happens if you just create a plain field - not grouped ?

That doesn't work either David

This is working now David - I had to re-choose the image once I had moved it from not grouped.

Glad to hear that!

This archived topic is closed to new replies.