Welcome to the community, @teresak! The best strategy I can think of is to wait until you get the cherry over the portal and whack a candy under the corresponding portal with a lollipop hammer.
Hi @teresak and welcome to our adorable Community 😊 I know some levels can be a handful but don't give up, you can do it 😉 Here are some tips for this level with the video. I hope it will help you to finish this level. Have a wonderful day 🤗