-
Closed
-
I guess it would be a good idea to provide the possibility for custom styling for this. Perhaps apply in new version. For example:
Find in Alora
Code:<?php wp_link_pages(); ?>(in single/page/fullwidth.php and many others)
Replace with:
<?php wp_link_pages( array( ‘before’ => ‘<div class=”page-links”><span class=”page-links-title”>’ . __( ‘Pages:’, ‘alora’ ) . ‘</span>’, ‘after’ => ‘</div>’, ‘link_before’ => ‘<span>’, ‘link_after’ => ‘</span>’ ) ); ?>Add in css:
Code:/* Page links */
.page-links {
clear: both;
font-size: 16px;
font-weight: normal;
line-height: 2.2;
margin: 20px 0;
}.page-links a,
.page-links > span {
background: #fff;
border: 1px solid #fff;
padding: 5px 10px;
text-decoration: none;
}.format-status .entry-content .page-links a,
.format-gallery .entry-content .page-links a,
.format-chat .entry-content .page-links a,
.format-quote .entry-content .page-links a,
.page-links a {
background: #e63f2a;
border: 1px solid #e63f2a;
color: #fff;
}.format-gallery .entry-content .page-links a:hover,
.format-audio .entry-content .page-links a:hover,
.format-status .entry-content .page-links a:hover,
.format-video .entry-content .page-links a:hover,
.format-chat .entry-content .page-links a:hover,
.format-quote .entry-content .page-links a:hover,
.page-links a:hover {
background: #fff;
color: #e63f2a;
}.format-status .entry-content .page-links > span,
.format-quote .entry-content .page-links > span {
background: none;
}.page-links .page-links-title {
background: transparent;
border: none;
margin-right: 20px;
padding: 0;
}See here too: http://theme4press.com/support/current-themes-group5/alora-forum27/localizing-pages-thread900/
The topic Styling Pages in multipage posts is closed to new replies