2012-08-07 2 views

답변

0

부트 스트랩은 자동으로 몸 주위에 20px 패딩을 만듭니다. 이 문제를 제거하려면 모바일 탐색 바에 대한 작업과 마찬가지로 부트 스트랩 대응 파일에 새 클래스를 구현하십시오.

@media (max-width: 767px) { 
body {  // The code that creates a padding around the body in mobile 
    padding-right: 20px; 
    padding-left: 20px; 
} 
.google-adsense, // Create a new class for your ad with -20 margins (The navbar 
        // is already implemented like this so just add new class name) 
.navbar-fixed-top, 
.navbar-fixed-bottom { 
    margin-right: -20px; 
    margin-left: -20px; 
} 
관련 문제