Custom Post page (blog) with recent posts

I followed the example and have built a custom post page with a separate cover image, background image of a strip, just as the example. I’ve added the code and the script and works perfectly. Thank you Wix for offering more design flexibility with the blog.

Now I’vei added a repeater with recent posts, on the same custom post page.
I want the Post HeaderStrip (Background image) to update as well when I click on a recent post (button) which it currently doesn’t, because I remain on the same page, how do I solve this?
How do I connect this button, to refresh the headerstrip background image, connected to the selected post?

Hi,
In the button’s onClick event you can change the strip’s background image using the background attribute.