Developer forum

Forum » Rapido » Custom background color on custom sticker

Custom background color on custom sticker

Martin Grønbekk Moen
Martin Grønbekk Moen
Reply

Is it possible to add a custom background color to the custom sticker on a product basis?
The custom sticker text is possible to edit on a product level, but the background color and position is based on the app settings.

We would like to ovverride the global settings for both background color and position for custom stickers.
Tried to look into the custom blocks, but there is a lot of code inheritance for the stickers, so I fear it is quite a lot of work in order to extend it?‚Äč


Replies

 
Nicolai Pedersen Dynamicweb Employee
Nicolai Pedersen
Reply

You have to do your own implemenation of that. Either by sending the color out in the json, or by defining a class for each text that can be on the sticker and include a color for those classes in your custom css.

 

You must be logged in to post in the forum