Details

    • Similar Issues:
      Show 5 results 

      Description

      Deploying custom theme in development environment works correctly. In production environment with theme.css.fast.load=true (by default), the CSS attributes are being calculated differently. Adding "?css_fast_load=0" to the URL in production resolves the issue temporarily.

      The new theme is based on the "classic" theme and rather than copy and modify the entire "custom.css", we have modified "main.css" to include "theme.css" as the last import. This technique works fine and makes version control and upgrade much easier given the minimal changes we are making to the classic theme.

      theme.css
      @import url(color_schemes/manl.css);
      
      #wrapper {
          background-image: url(../images/custom/wrapper_bg.png);
          background-repeat: no-repeat;
      }
      
      #sign-in {
      	top: 0;
      }
      
      #banner {
          background-image: url(../images/custom/banner_bg.png);
          background-repeat: no-repeat;
          background-position: 90% top;
      }
      
      #heading {
          height: 131px;
      }
      

      The panels below show Firebug's capture of the CSS delivered in each of the two scenarios.

      main.css with ?css_fast_load=1
      #wrapper {
          background: none repeat scroll 0 center transparent;
          margin: 0 auto;
          max-width: 90%;
          min-width: 960px;
          position: relative;
      
      main.css with ?css_fast_load=0
      #wrapper {
          background: none repeat scroll 0 0 transparent;
          margin: 0 auto;
          max-width: 90%;
          min-width: 960px;
          position: relative;
      

      Note the different interpretation for the "background" tag!!! It is the "center" vertical alignment that is causing our production issue.

        Activity

        Hide
        Aniceto P Madrid added a comment -

        Peter, Ivano
        Can you tell me if this issue is stillin 6.2.0m4? Here you can download bundles http://sourceforge.net/projects/lportal/files/Liferay%20Portal/6.2.0%20M4/
        Thanks

        Show
        Aniceto P Madrid added a comment - Peter, Ivano Can you tell me if this issue is stillin 6.2.0m4? Here you can download bundles http://sourceforge.net/projects/lportal/files/Liferay%20Portal/6.2.0%20M4/ Thanks
        Hide
        Peter Hancox added a comment -

        Hi Aniceto,

        I'm out of the office until next week and not actively working on Liferay at the moment. I'll try and check for you but as yet haven't set up an environment for milestone installs so it'd be a couple of weeks at best before I can verify for you.

        Apologies
        Peter

        Show
        Peter Hancox added a comment - Hi Aniceto, I'm out of the office until next week and not actively working on Liferay at the moment. I'll try and check for you but as yet haven't set up an environment for milestone installs so it'd be a couple of weeks at best before I can verify for you. Apologies Peter
        Hide
        Aniceto P Madrid added a comment -

        I'll wait.
        Thanks

        Show
        Aniceto P Madrid added a comment - I'll wait. Thanks
        Hide
        Edward Gonzales added a comment -

        Hello everyone! We are in the process of moving component "Theme" to "Theme > Dev" in LPS. Please make the necessary adjustments to your filters. Thanks!

        Show
        Edward Gonzales added a comment - Hello everyone! We are in the process of moving component "Theme" to "Theme > Dev" in LPS. Please make the necessary adjustments to your filters. Thanks!
        Hide
        michele zanarotti added a comment -

        Actually I'm experiencing the same exact thing with 6.2 GA1 (CE)

        We have a theme inherited from classic theme.

        With theme.css.fast.load = false everything works fine.
        With theme.css.fast.load = true the loading is referred to the original theme, as if there where no changes in the theme. So i see the site pages messed up.

        On the contrary I never experiences this on 6.1.

        Show
        michele zanarotti added a comment - Actually I'm experiencing the same exact thing with 6.2 GA1 (CE) We have a theme inherited from classic theme. With theme.css.fast.load = false everything works fine. With theme.css.fast.load = true the loading is referred to the original theme, as if there where no changes in the theme. So i see the site pages messed up. On the contrary I never experiences this on 6.1.

          People

          • Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

            • Created:
              Updated:
              Days since last comment:
              23 weeks, 3 days ago

              Development

                Structure Helper Panel