Apostrophe CMS Main Site Forum Home

How to style apostrophe-pieces-submit-widgets


#1

I can’t seem to find anything on styles for the apostrophe-pieces-submit-widgets for scene user only - I don’t want to mess up the styles on the general UI by added flex, etc. Is there a simple way to override without changes to all the inputs, labels, buttons, etc. The submit button that is generated is just a no classes or data attributes!


#2

The first rule I’d say is to not style with the Apostrophe classes (when at all possible). Generally when we’ve used the apos-pieces-submit-widgets module I think we override the template with a views/widget.html file in the module that extends it. That makes for easier adding your own classes as needed.