Uploaded image for project: 'ZK'
  1. ZK
  2. ZK-2599

Prefered theme not used for mobile device

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • 7.0.3
    • CSS, Theme
    • Mobile devices - iPhone, Android phones

      For our web project we created new custom theme project.
      We set everything up and web page looks good on every browser that support CSS3.

      The problem is, that when we display our web on mobile device like iPhone or Android phone.
      I have compared zk.wcs file generated for Chrome on my Windows 8 laptop and zk.wcs file generated for mobile device and they don't match.
      It seems like the default ZK theme was used for generating zk.wcs for mobile device. I cannot find any customization we made in theme project.

      We have theme as archive in our WEB-INF/lib folder and we specified prefered theme in zk.xml as orion7 (our theme)

      zk.xml
        ... output omitted
          <library-property>
              <name>org.zkoss.theme.preferred</name>
              <value>orion7</value>
          </library-property>
          
          <library-property>
              <name>org.zkoss.zk.WCS.cache</name>
              <value>false</value>
          </library-property>    
          <library-property>
              <name>org.zkoss.zk.WPD.cache</name>
              <value>false</value>
          </library-property>
          <library-property>
              <name>org.zkoss.web.classWebResource.cache</name>
              <value>false</value>
          </library-property>
          <library-property>
              <name>org.zkoss.web.classWebResource.cache.CSS.hours</name>
              <value>0</value>
          </library-property>
        ... output omitted
      

      I have attached screenshot with some of zk.wcs differentions

      Do I miss some configuration?
      I have no @media specification in my .less files

            Unassigned Unassigned
            Worsik Worsik
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated: