안녕하세요 지난번 pic-gallery 에서도 같은 문의를 했었는데 잘 해결 되었어요 감사합니다.
KBoard 에스크원 상담 스킨 게시판 역시 모바일에서 1페이지만 보이는데 전부 보이도록 하고 싶네요. 어떻게 고쳐야 하죠?
pic-gallery 와 코드가 같지 않아서 햇갈리네요~
안녕하세요~^^
.kboard-pagination 클래스 관련된 속성을 수정해주시면 됩니다.
FTP로 접속해서 /wp-content/plugins/kboard/skin/ask-one/style.css 파일을 수정해주세요.
1. 아래의 코드를 찾아주세요.
@media screen and (max-width: 600px) {
#kboard-ask-one-list .kboard-category.category-mobile { display: block; }
#kboard-ask-one-list .kboard-category.category-pc { display: none; }
#kboard-ask-one-list .kboard-list table { border-top: 1px solid #f1f1f1; }
#kboard-ask-one-list .kboard-list table thead { display: none; }
#kboard-ask-one-list .kboard-list table td.kboard-list-title { padding: 10px 5px; }
#kboard-ask-one-list .kboard-list table td.kboard-list-title .kboard-ask-one-cut-strings { margin-bottom: 10px; white-space: normal; font-size: 15px; line-height: 23px; }
#kboard-ask-one-list .kboard-list table td.kboard-list-uid,
#kboard-ask-one-list .kboard-list table td.kboard-list-category,
#kboard-ask-one-list .kboard-list table td.kboard-list-status,
#kboard-ask-one-list .kboard-list table td.kboard-list-user,
#kboard-ask-one-list .kboard-list table td.kboard-list-date,
#kboard-ask-one-list .kboard-list table td.kboard-list-vote,
#kboard-ask-one-list .kboard-list table td.kboard-list-view { display: none; }
#kboard-ask-one-list .kboard-list .kboard-mobile-category { display: inline; }
#kboard-ask-one-list .kboard-list .kboard-mobile-status { display: block; }
#kboard-ask-one-list .kboard-list .kboard-mobile-contents { display: block; }
#kboard-ask-one-list .kboard-pagination .kboard-pagination-pages li { display: none; }
#kboard-ask-one-list .kboard-pagination .kboard-pagination-pages li.first-page,
#kboard-ask-one-list .kboard-pagination .kboard-pagination-pages li.last-page,
#kboard-ask-one-list .kboard-pagination .kboard-pagination-pages li.prev-page,
#kboard-ask-one-list .kboard-pagination .kboard-pagination-pages li.next-page,
#kboard-ask-one-list .kboard-pagination .kboard-pagination-pages li.active { display: inline-block; }
#kboard-ask-one-list .kboard-pagination .kboard-pagination-pages li.prev-page a,
#kboard-ask-one-list .kboard-pagination .kboard-pagination-pages li.next-page a { padding: 0 18px; }
#kboard-ask-one-list .kboard-search select { float: left; margin-right: 1%; width: 29%; min-width: 29%; height: 28px; line-height: 28px; box-sizing: border-box; }
#kboard-ask-one-list .kboard-search input { float: left; margin-right: 1%; width: 49%; min-width: 49%; height: 28px; line-height: 28px; box-sizing: border-box; }
#kboard-ask-one-list .kboard-search button { float: left; width: 20%; min-width: 20%; box-sizing: border-box; }
#kboard-ask-one-editor select,
#kboard-ask-one-editor input[type=text],
#kboard-ask-one-editor input[type=email],
#kboard-ask-one-editor input[type=number],
#kboard-ask-one-editor input[type=date],
#kboard-ask-one-editor input[type=password],
#kboard-ask-one-editor input[type=file] { width: 100%; box-sizing: border-box; }
#kboard-ask-one-editor .kboard-attr-wrap { display: block; width: auto; }
#kboard-ask-one-editor .kboard-attr-row { display: block; padding: 10px 0; }
#kboard-ask-one-editor .kboard-attr-row .attr-name { display: block; padding: 0; font-size: 14px; background-color: white; }
#kboard-ask-one-editor .kboard-attr-row .attr-value { display: block; margin: 0; padding: 0; }
#kboard-ask-one-document .kboard-detail .detail-attr { clear: both; padding: 5px 5px; }
#kboard-ask-one-document .kboard-content .content-view { padding: 10px 5px; }
#kboard-ask-one-document .kboard-document-action { padding: 10px 5px 5px 5px; }
#kboard-ask-one-document .kboard-attach { margin: 0 5px; }
#kboard-ask-one-document .kboard-document-navi .kboard-prev-document { width: 100%; }
#kboard-ask-one-document .kboard-document-navi .kboard-next-document { margin-top: 10px; float: left; width: 100%; text-align: left; }
}
2. 아래의 코드로 교체해주세요.
@media screen and (max-width: 600px) {
#kboard-ask-one-list .kboard-category.category-mobile { display: block; }
#kboard-ask-one-list .kboard-category.category-pc { display: none; }
#kboard-ask-one-list .kboard-list table { border-top: 1px solid #f1f1f1; }
#kboard-ask-one-list .kboard-list table thead { display: none; }
#kboard-ask-one-list .kboard-list table td.kboard-list-title { padding: 10px 5px; }
#kboard-ask-one-list .kboard-list table td.kboard-list-title .kboard-ask-one-cut-strings { margin-bottom: 10px; white-space: normal; font-size: 15px; line-height: 23px; }
#kboard-ask-one-list .kboard-list table td.kboard-list-uid,
#kboard-ask-one-list .kboard-list table td.kboard-list-category,
#kboard-ask-one-list .kboard-list table td.kboard-list-status,
#kboard-ask-one-list .kboard-list table td.kboard-list-user,
#kboard-ask-one-list .kboard-list table td.kboard-list-date,
#kboard-ask-one-list .kboard-list table td.kboard-list-vote,
#kboard-ask-one-list .kboard-list table td.kboard-list-view { display: none; }
#kboard-ask-one-list .kboard-list .kboard-mobile-category { display: inline; }
#kboard-ask-one-list .kboard-list .kboard-mobile-status { display: block; }
#kboard-ask-one-list .kboard-list .kboard-mobile-contents { display: block; }
#kboard-ask-one-list .kboard-search select { float: left; margin-right: 1%; width: 29%; min-width: 29%; height: 28px; line-height: 28px; box-sizing: border-box; }
#kboard-ask-one-list .kboard-search input { float: left; margin-right: 1%; width: 49%; min-width: 49%; height: 28px; line-height: 28px; box-sizing: border-box; }
#kboard-ask-one-list .kboard-search button { float: left; width: 20%; min-width: 20%; box-sizing: border-box; }
#kboard-ask-one-editor select,
#kboard-ask-one-editor input[type=text],
#kboard-ask-one-editor input[type=email],
#kboard-ask-one-editor input[type=number],
#kboard-ask-one-editor input[type=date],
#kboard-ask-one-editor input[type=password],
#kboard-ask-one-editor input[type=file] { width: 100%; box-sizing: border-box; }
#kboard-ask-one-editor .kboard-attr-wrap { display: block; width: auto; }
#kboard-ask-one-editor .kboard-attr-row { display: block; padding: 10px 0; }
#kboard-ask-one-editor .kboard-attr-row .attr-name { display: block; padding: 0; font-size: 14px; background-color: white; }
#kboard-ask-one-editor .kboard-attr-row .attr-value { display: block; margin: 0; padding: 0; }
#kboard-ask-one-document .kboard-detail .detail-attr { clear: both; padding: 5px 5px; }
#kboard-ask-one-document .kboard-content .content-view { padding: 10px 5px; }
#kboard-ask-one-document .kboard-document-action { padding: 10px 5px 5px 5px; }
#kboard-ask-one-document .kboard-attach { margin: 0 5px; }
#kboard-ask-one-document .kboard-document-navi .kboard-prev-document { width: 100%; }
#kboard-ask-one-document .kboard-document-navi .kboard-next-document { margin-top: 10px; float: left; width: 100%; text-align: left; }
}
고맙습니다.