Archived topic
Customize line probleme
3 replies · Started by steven on January 7, 2022
Viewing posts 1–4 of 4
Hello,
I am using a custom line for the sidebar, but i have a problem with the pages that do not use the sidebar.
Exemple page with probleme :
Normal page without probleme :
Hi there,
change your CSS to this:
@media (min-width: 769px) {
.right-sidebar .content-area:after {
content: '';
display: block;
position: absolute;
top: 0;
right: 0;
width: 2px;
height: 900px;
background-color: #f4F2F2;
}
.right-sidebar .content-area {
position: relative;
}
}
The CSS will only apply on pages/posts with the right sidebar.
Thank you David, it's working.
Have a good week
You're welcome!
This archived topic is closed to new replies.