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
Reply
This post has been marked as an answer

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.

Votes for this answer: 1

 

You must be logged in to post in the forum