Wix block apps issue in adding design presets!

Hi,

I have a wix block custom slider app, since we are using html & css code in iframe so it is giving very less scope of design change. When we were publishing the app in the market we were asked to add design preset. We need help how to do for iframe since for changing the designs we can pass props via iframe messages but then it is not adding any new design preset and still we are not able to give the options to change designs like other wix apps(wix store and wix booking) give to tweak the design?

Thanks,
Suraj Prajapati

Hi,
As a general answer, I suggest you look at the division into widgets as follows:

  • If the difference between 2 elements is functional, you should produce them as two separate widgets.
  • If the difference is only in terms of the design, keep them both as the same widget and change the design via panel and code that change the design via your html&css, or create different presets for each design option.
    You can learn more here
2 Likes