pkp / immersion

An official theme for OJS 3.1.1+
GNU General Public License v2.0
10 stars 24 forks source link

Section Color does not stay #89

Open bokamm opened 4 months ago

bokamm commented 4 months ago

Describe the bug After it did not work on the production website, I made a clean install of OJS 3.4.0.5 in MAMP and activated the Immersion theme to see if I could adjust the section colors here. I can adjust section colors per issue and save but they always return to the standard black for all sections (production site and MAMP). Picking colors for the journal description and announcements does work.

To Reproduce Steps to reproduce the behavior:

  1. Go to 'Issues'
  2. Select Issue, click 'Edit'
  3. On 'Issue Data' scroll down to 'Color Picker'
  4. Select colors for sections
  5. Click 'Save'
  6. Check journal frontend > all sections black
  7. Check backend: All sections black under 'Color Picker'

Expected behavior The section colors should reflect the selection upon saving.

Desktop (please complete the following information):

Additional context The journal uses two languages, English (default) and Japanese. I noticed that I have to upload the logo and issue covers separately for each language to correctly display. May this interfere with saving the section colors?

bokamm commented 4 months ago

I switched off the second locale, to only use English, but this did not change the problem. There are no entries in error logs (at least I could not find any). However, I get this error in console: The specified value '' does not conform to the required format. The format is "#rrggbb" where rr, gg, bb are two-digit hexadecimal numbers.

See screenshot:

colors
asmecher commented 3 months ago

Thanks, @bokamm! @Vitaliy-1, adding to your list to consider.