我在一个WooCommerce网站上工作,现在我正在制作该网站的移动版本。
如果你在移动设备上访问网站,自定义主题(我从头开始制作)将加载。(使用任何移动主题切换器插件)
我的问题是WooCommerce不会在移动主题上加载javascript文件。导致这种情况的原因:
-search栏不能正常工作
-orderby下拉菜单根本不起作用
切换付款方式时的-at结帐页面-带有说明的框不会更改
在桌面版本上一切运行正常。
网上商店网址:http://nectness.com/trgovina/
要在chrome上查看手机版本,只需查看网站,切换设备模式,刷新,手机版本就会显示出来。
搜索栏应该与桌面版完全相同,其他一切看起来都应该是一样的,但它不起作用。
发布于 2016-09-19 18:14:55
问题解决了!这只是个愚蠢的错误。我忘了在手机主题footer.php文件中添加wp_footer。
如果您正在开发自己的可湿性粉剂主题,请确保在header.php和footer.php中添加wp_head和wp_footer
发布于 2016-09-14 21:28:40
I have check your http://nectness.com/trgovina/ site
All functionality work in responsive (mobile view) but broke design broke in mobile view (responsive view)
1) First change responsive view css for eight columns class in header section
please remove width : 47% ; please giver width :100% for eight columns
2) set responsive view css for footer-first,fc1i2,fc3,footer-last,footer-bottom copy
i Hope you understand .No any issues in woocommerce functionality but design problem in mobile layout view (Responive view)
Not changes in Desktop css but write css in responsive css
ex.
@media screen and (min-width: 400px) {here write css so changes look in mobile and tablet lanscape}
@media screen and (min-width: 600px) {here write css so changes look in tablet }
@media screen and (min-width: 1000px) {here write css so changes look in big tablet }
@media screen and (min-width: 1400px) {...}
Thanks
Maulikhttps://stackoverflow.com/questions/39489393
复制相似问题