WordPress 본문 폭 늘리기

처음 워드프레스를 설치하면 글 폭이 좁게 고정되어있어 답답하다. 그래서 최대한 넓힐 수 있는 만큼 본문의 폭을 늘리고자 한다.

1.  테마 찾기
아래처럼 외모 메뉴를 선택하면 현재 설정되어있는 테마를 확인할 수 있다.  현재 Twenty FourTeen으로 되어있으므로 WP_HOME/wp-content/themes/twentyfourteen 폴더의 css를 수정한다.
테마 찾기
 
 
 

2.  [워드프레스 홈]/wp-content/themes/twentyfourteen/style.css

.page-content {
margin: 0 auto;
max-width: 100%;
}

 
 
 

3.   WP_HOME/wp-content/themes/twentyfourteen/css/editor-style.css

html .mceContentBody {
font-size: 100%;
max-width: 100%;
}

img {
height: auto;
max-width: 100%;
vertical-align: middle;
}

.wp-caption {
background: transparent;
border: none;
color: #767676;
margin: 0 0 24px 0;
max-width: 100%;
padding: 0;
text-align: left;
}

 
 
 

답글 남기기

이메일 주소는 공개되지 않습니다. 필수 필드는 *로 표시됩니다