Active
Project:
Style Options
Version:
1.0.0-alpha1
Component:
Documentation
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
27 Dec 2021 at 16:55 UTC
Updated:
7 Oct 2022 at 16:10 UTC
Jump to comment: Most recent
Comments
Comment #2
johnpitcairn commentedBackground color requires the spectrum jQuery library - that needs to be placed in a
/libraries/spectrum/directory.You can manually add it to your libraries folder, but if using composer I'd recommend using the asset-packagist repository and oomphinc/composer-installers-extender to manage javascript libraries. Documentation for doing so can be found in the color_field module README.md file, which also uses spectrum. Note colour_field module is not required, just the spectrum js library.
Comment #3
justclint commentedIm having similar issue, but with the background_image. Ive copied the example yml into my module and the class and background_color options work but a field for adding background image never shows up.
This is background image settings in the yml file.
Is there any additional steps needed to get the background image field to show?
Thanks!