jacek_podwysocki Posted July 22, 2013 Share Posted July 22, 2013 Hi! I have recently created a responsive theme for PrestShop which seemed to be working fine as a theme itself before implementing it into the shop. Yet after activating the theme, I realized that it does not work on mobile devices-it does not shrink or expand according to the size of users screen. When testing it with desktop browser and changing its window size manually, the theme works perfect, yet when browsing on mobile phones it shows the core theme as if the responsive theme css rules where not read. Of course the setting for mobile theme has been switched off in admin panel for I don't want mobile theme but use my responsive functionality instead. Any help or suggestions telling me why theme is acting the way I described it are appreciated Link to comment Share on other sites More sharing options...
vekia Posted July 22, 2013 Share Posted July 22, 2013 is there any way to test it? if so please share the url. Is hard to say what's going on in this case without access to the store and sources (its a css and media queries issue, definitely) Link to comment Share on other sites More sharing options...
jacek_podwysocki Posted July 22, 2013 Author Share Posted July 22, 2013 Thank you for your reply. My bad, I have forgotten the link http://goo.gl/y3jtoQ Theme works fine as a simple page therefore Im quite sure there is something about prestashop that I don't know when it goes to responsive theming The most recent find is that iphone actually applies responsive theme styles but the wrong ones. It applies the ones which should be used on devices with width between 980 and 1259px () @media only screen and (min-width: 980px) and (max-width: 1259px) Link to comment Share on other sites More sharing options...
jacek_podwysocki Posted July 22, 2013 Author Share Posted July 22, 2013 Problem solved. Meta vieport tag was missing.... <meta name="viewport" content="width=device-width"> 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now