I think I may be looking in the wrong place, but I’m brand new to the interface/workflow. When I select ‘opacity’ it seems to still limit the BG image to one CMS image field.
Do I need to do this with show/hide using multiple link blocks referencing different CMS fields?
Set up two different elements each with the different bkgd img from the CMS. Then use interactions to reveal (with show/hide) or fade (with opacity) actions.
When I test the blocks just disappear on mouse over.
It seems like controlling button states/image BG with the CMS would be a simple matter. This setup seems excessive. Has anyone attempted this before, any tutorials out there?
With this approach, I’m sure there’s some sort of portion of the hierarchy I have incorrect.
You need to place the hover interaction on Collection Item 2 and have it affect the link blocks. Should only be two animations, one for hover in, and one for hover out.
The two background divs are set to position absolute and full. Make sure the z-index of the top div is higher. Make sure to give the link block a position of relative.
Lastly add an interaction to the link block which will hide the top background and reveal the one underneath upon hover. I used opacity but it could be any creative transition you can think of. If using a scale or move effect, remember to turn on overflow:hidden for the link block to trim the effect inside the button.
Then duplicate and reverse the interaction for the hover off. Here’s the result.