What’s the diferrence between css for mobile and css for mobile landscape?
Mobile optimization - by fashionarena - on WordPress WooCommerce support
8 replies3 participantsUpdated by Jack Richardson
-
8 Answers
#114969 CopiedHello,
Sorry, but in this case you have to enable responsive design back.
Css for mobile works for mobile portrait, here is an example http://storage9.static.itmages.com/i/16/0226/h_1456476078_7617025_261413e365.png , and the example of mobile landscape http://storage7.static.itmages.com/i/16/0226/h_1456476127_2321101_2b624d4c48.png .Regards,
Eva Kemp.#115008 CopiedThanks Eva,
I see now the difference.
I saw on the web some websites who don t have a responsive design, but still are mobile friendly.
Example: http://www.elegantthemes.comCan i achieve a design like this with WooPress?
#115023 CopiedHello,
We can’t check your site using Mobile-Friendly Test in Google as it’s not allowed in your robots.txt file:
http://storage6.static.itmages.com/i/16/0226/h_1456482858_1075009_ae217b13e3.png
Where do you test the site?Regards,
Eva Kemp.#115025 CopiedI’ve blocked Google, on the development stage using robots.txt
I’ve removed the block now. You can test the site.#115028 CopiedHello,
To make site mobile friendly with responsive design disabled you need edit the file header.php, find the code
<meta name="viewport" content="<?php if($etheme_responsive): ?>width=device-width, initial-scale=1, maximum-scale=2.0<?php else: ?>width=1200<?php endif; ?>"/>in line 7 and remove the code<?php if($etheme_responsive): ?>,<?php else: ?>width=1200<?php endif; ?>.After that test your site.
Regards,
Eva Kemp.#115033 CopiedI’ve introduced your snippet, but the result was not what i hopped for.
The main menu was mising on mobile and whole page was truncated.#115192 CopiedHello,
If you want to have responsive design on your site for mobile devices you need to activate the mentioned option in Theme Options > Responsive. Otherwise it requires additional customization in theme source files.
Best regards,
Jack Richardson.#115350 Copied -
Want to reply? Log in, or register with your ThemeForest purchase code, to reply to this topic.















