Archived topic
Homepage links everywhere to page 2 after insert 11th article
17 replies · Started by Daniele on March 21, 2021
Viewing posts 16–18 of 18
Can you replace the CSS with this:
/* aggiunti da me */
/* Post Navigation */
.single-post #nav-below,
.nav-previous,
.nav-next,
.post-title-wrap {
display: flex;
width: 100%;
}
.single-post #nav-below {
justify-content: space-between;
}
.single-post #nav-below img {
max-width: 100px;
max-height: 100px;
object-fit: cover;
}
.single-post .nav-previous,
.single-post .nav-next {
width: 49%;
margin: 10px 0;
position: relative;
box-sizing: border-box;
}
.single-post .post-title-wrap {
padding: 10px;
width: 100%;
flex-direction: column;
border: 1px solid #efefef;
}
.single-post .nav-previous .post-title-wrap {
text-align: right;
}
.single-post #nav-below a:before {
content: ”;
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 1;
}
.single-post .title-label {
font-size: 12px;
}
.single-post .nav-previous:hover .post-title-wrap,
.single-post .nav-next:hover .post-title-wrap {
border: 1px solid #ccc;
}
@media(max-width: 758px) {
.single-post #nav-below {
flex-direction: column;
}
.single-post .nav-previous,
.single-post .nav-next {
width: 100%;
}
}
wow David, it works!!!
Thank you a lot!
Now I try to study the difference, even if I'm not a programmer, but I like to understand!
I only listed some Commodore 64 basic :-) some years ago...
I see: you have added .single-post so it works only on single post!
Perfect and have a nice day!
Daniele from Rome, Italy
You're welcome :)
This archived topic is closed to new replies.