ページナビ: 1 2
最初のページの「前へ」や最後のページの「次へ」は無くてもいいテキストになるので、
でぃすぷれいのんで消してます。使いたくない人は適当に変えてください。
/* Pagination ----------------------------------------------- */ #wp_page_numbers { clear: both; border-top: 1px solid #cacaca; border-bottom: 1px solid #cacaca; } #wp_page_numbers ul { text-align:center; margin: 0px; } #wp_page_numbers li { display:inline; } #wp_page_numbers a { font-size: 17px; font-weight: bold; color: #7B3808; padding: 24px 7px 12px 8px; text-decoration: none; } #wp_page_numbers li a:hover { background: #641919; color: #fff; font-weight: bold; -webkit-transition: all 0.2s ease-in-out; -moz-transition: all 0.2s ease-in-out; -o-transition: all 0.2s ease-in-out; -ms-transition: all 0.2s ease-in-out; transition: all 0.2s ease-in-out; } #wp_page_numbers li.active_page a { font-size: 35px; padding: 7px; } #wp_page_numbers li.page_info { display: none; }