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

Can't override template CSS using _custom.scss with the Liferay theme generator

    Details

    • Story Points:
      1.5

      Description

      when I run yo liferay-theme, and create a theme, I edit _custom.scss in the src/css folder. If I add something simple like:

      /* These inject tags are used for dynamically creating imports for themelet styles, you can place them where ever you like in this file. */
      
      /* inject:imports */
      /* endinject */
      
      /* This file allows you to override default styles in one central location for easier upgrade and maintenance. */
      
      .control-menu-level-1 {
      	background-color: #425563;
      	background-image: none;
      }
      

      it doesn't work, it adds but the precedence is wrong. See screenshot for details.

        Attachments

        1. No Longer.png
          188 kB
          Linda Sui
        2. Screenshot 2017-01-04 11.58.57.png
          74 kB
          Brett Swaim

          Activity

            People

            Assignee:
            linda.sui Linda Sui
            Reporter:
            brett.swaim Brett Swaim
            Participants of an Issue:
            Recent user:
            Linda Sui
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              2 years, 48 weeks, 3 days ago

                Packages

                Version Package
                7.0.X
                Master