2016-09-14 4 views
0

저는 WooCommerce 웹 사이트에서 일하고 있으며 지금은 모바일 버전의 웹 사이트를 만들고 있습니다.Woocommerce가 자바 스크립트를로드하지 않습니다

모바일 장치에서 웹 사이트를 방문하면 사용자 지정 테마 (처음부터 만들었습니다)가로드됩니다. (Any Mobile Theme Switcher 플러그인 사용)

내 주제는 WooCommerce가 모바일 테마에서 자바 스크립트 파일을로드하지 않는다는 것입니다. 그 원인이되는 :

- 검색 막대가 제대로 작동하지 않는 지불 방법을 전환 할 때

-orderby 드롭 다운 모든

-at 체크 아웃 페이지에서 작동하지 않습니다 - 설명과 함께 상자 늘 변화

데스크톱 버전에서는 모든 것이 잘 작동합니다.

웹 사이트 SHOP의 URL : http://nectness.com/trgovina/

, 그냥 장치 모드 토글, 웹 사이트를 검사 크롬 모바일 버전을 보려면 새로 고침 및 모바일 버전이 표시됩니다합니다.

검색 표시 줄은 데스크톱 버전과 완전히 동일해야하며 다른 모든 기능은 있어야하지만 작동하지 않습니다.

답변

0

문제가 해결되었습니다. 그것은 단지 noobish 실수였습니다 ... 나는 모바일 테마 footer.php 파일에 wp_footer를 추가하는 것을 잊어 버렸습니다.

당신이 당신의 자신의 WP 테마 header.php에 wp_head 및 wp_footer를 추가하고

0
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 
    Maulik 
+0

왜 내가 데스크톱 버전의 CSS를 편집해야 footer.php해야합니다 개발하는 경우? 모든 것이 제대로 작동합니다. – Matto

+0

데스크탑 CSS에서는 chnages가 아니지만 응답 가능한 CSS에서는 CSS를 작성하십시오 예. –

+0

그래, 나에게 말해 주려는 것이 무엇인지 이해하고 있지만 내 질문을 이해할 수 없다고 생각합니다 ... – Matto

관련 문제