e. We would like to have custom colors for page headers
Objectives
Allow define background color and font color for custom header on custom pages.
In addition to background_color and font_color fields, we have also added a new field custom_header_enabled to allow set these fields (page with custom header) or create a custom page without custom header.
Visual Changes
Admin section:
Public page with custom header:
Notes
We have to run this task after uploading to production:
rake site_customization_pages:update_color_fields_values_from_deploy_yml
This will update the background color and text color for the custom pages. The values for this task have been copied from the definition of the deploy.yml file.
References
Requirement:
Objectives
Allow define background color and font color for custom header on custom pages. In addition to
background_color
andfont_color
fields, we have also added a new fieldcustom_header_enabled
to allow set these fields (page with custom header) or create a custom page without custom header.Visual Changes
Notes
We have to run this task after uploading to production:
rake site_customization_pages:update_color_fields_values_from_deploy_yml
This will update the background color and text color for the custom pages. The values for this task have been copied from the definition of the
deploy.yml
file.