I am going to have a need to create a site where individual widgets will need custom styling.
Here are the things I have to achieve:
- some of these widgets will be used site wide and some will be page specific
- the end use of the site will be creating (and removing) widgets on a fairly regular basis.
- there will be 4 different styles for the widgets.
- The end user will need to be able to easily select which style they want applied to a specific widget.
So I can style a specific widget after is created. For Example:
.widget-3 {
background-color: #FF45BB;
box-shadow: 0px 0px 4px 2px rgba(0, 0, 0, 0.25);}
Or
#calendar-2 {
background-color: #FF45BB;
box-shadow: 0px 0px 4px 2px rgba(0, 0, 0, 0.25);}
I can put such rules in the font and custom css rules.
That is the only way I can figure the end user can do this: make a widget, look at it’s id or class with developers tools in firefox or something, then add the rule to the font & custom.
Does anyone have a better way of doing it than this or any other suggestions?