Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-75748

Color Scheme Picker lacks visual response for custom themes | DXP Theme



      This ticket is essentially a duplicate of LPS-72671 in order to handle brining back the theme changes to the 7.0.x-private branch/DXP theme.


      **Brief Summary

      For a custom theme with color schemes, clicking on the color scheme selector does not provide any visual response, though the "selected" class is applied correctly.  This lack of visual response, coupled with the fact that older versions of portal used a radio button input instead leads to confusion  


      • Generate a non-default color scheme for the custom theme.  A simple way to do this, which will create one non-default color scheme is to paste the following into liferay_look_and_feel.xml in the src/WEB-INF directory of the custom theme directory:


      <color-scheme id="01" name="Default">
      <color-scheme id="02" name="Marx">
      • Then, put in the css styling for the color scheme.  Assuming the previous code was pasted in, create directory src/css/color_schemes in the custom theme directory, and create marx.css:
      body.marx {
        color: #F00 !important;
      • Then edit src/css/_custom.scss, adding the line 
        @import "color_schemes/marx";

        in the beginning of the file

      • In the src/images directory, create directories color_schemes/default and color_schemes/marx, and place unique thumbnail images thumbnail.png pictures into each of those two directories.  **
      • Deploy the theme to have access to this new theme with color schemes.
      • Go to ** Public Pages > Configure, and change the theme to the custom theme.  Underneath the Theme is a row with two color schemes, Default and Marx.  
      • Clicking on either color scheme provides no visual response.

      Expected Results

      The chosen color scheme's thumbnail image in the color scheme picker has changed in such a way to indicate it was selected by the user

      Actual Results

      No visual changes occur within the color scheme picker; the all color scheme thumbnail images remains unchanged.


          Issue Links



              summer.zhang Summer Zhang
              josemaria.munoz José María Muñoz
              Participants of an Issue:
              Recent user:
              Enterprise Release HU
              0 Vote for this issue
              0 Start watching this issue


                Days since last comment:
                4 years, 40 weeks, 3 days ago


                  Version Package
                  7.0.0 DXP FP33
                  7.0.0 DXP SP7
                  7.0.5 CE GA6