Skip to content

Admin user can save custom CSS styles for a collection in DSpace Admin interface #3254

Open
@alexklbuckley

Description

@alexklbuckley

Is your feature request related to a problem? Please describe.

It would be helpful for admin users to be able to save CSS styling rules for a collection in the DSpace Admin collection forms.

This CSS would then be displayed on the collection browse page and collection item pages.

Describe the solution you'd like

  1. Add a new metadata field to the DSpace database for saving collection CSS
  2. Add a new 'Collection styles' input field to DSpace Admin collection form.
  3. Admin users can save raw CSS rules to 'Collection styles' input box.
  4. CSS rendered on collection browse page and item detail page.

These CSS rules should be able to style any part of the DSpace interface - including header, nav bar and footer.

Describe alternatives or workarounds you've considered

Currently if an admin user wants to be able to customise the display of a collection they must ask someone with server access/technical knowledge to:

  1. Create a new theme
  2. Upload that new theme to the DSpace Angular server
  3. Edit the config.*.yml on the angular server - associating their collection with the new theme

We would like to add the ability for admin users to be able to make some styling changes themselves.

Additional information

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    👀 Needs Discussion / Analysis

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions