2014-10-17 2 views

답변

0

은 크롬의 개발 도구에 따르면, 당신의 smartmobile.css 당신은 주요 컨테이너 div에 약간의 변경이 필요합니다 :

.ct-general { 
    background-attachment: scroll; /* Change this to fixed, line 1 */ 
} 

.ct-catalog { 
    background-attachment: scroll; /* change to fixed, remove other declarations, line 4 */ 
} 

.ct-schema { 
    background-attachment: scroll; /* change to fixed, line 9 */ 
} 

.ct-sravn { 
    background: url('../images/bg_wins.png') !important; 
    background-size: auto !important; 
    background-attachment: scroll !important; /*change to fixed, line 12 */ 
} 

.ct-clients { 
    background: url('../images/clients_bg.png') !important; 
    background-size: auto !important;   /* change to cover to fill the space */ 
    background-attachment: scroll !important; /* change to fixed, 18 */ 
} 

이 이제 모바일에서 데스크탑 스타일을 일치합니다.

+0

하지만'background-attachment : fixed'는 배경이 전혀 표시되지 않습니다. –

+0

무슨 뜻인지 모르겠군요. 이 메소드를 테스트 중이며 페이지를 볼 때 모바일 용 (Android 관련) 올바르게 표시됩니다. 왜 제대로 작동하지 않습니까? – Brian

+0

'scroll'을'fixed'로 변경합니다. 체크 아웃하십시오. HTC One M8 (안드로이드 4.4.2)에서 확인하고 작동하지 않습니다. 추신. 수평 방향을 확인하십시오. –

관련 문제