Ok, so now try adding this CSS – note the screen has to be 1500px for it to move the ToC from the Content to the sticky left side:
@media(min-width: 1500px) {
.single-post #page {
max-width: 1500px;
padding-left: 300px;
position: relative;
}
div#ez-toc-container {
position: absolute;
top: 14px;
left: 0;
bottom: 0;
max-width: 300px;
background-color: transparent !important;
border: none !important;
width: 100%;
z-index: 1;
display: flex;
flex-direction: column;
border: none;
}
.custom-toc-wrapper,
.ez-toc-title-container {
position: -webkit-sticky;
position: sticky;
top: 90px;
border-radius: 10px;
border: 2px solid #000;
box-shadow: 5px 0 #b20c20;
border-style: dashed;
background-color: #fff;
overflow: hidden !important;
}
.ez-toc-title-container {
top: 20px;
padding: 20px;
border-radius: 10px 10px 0 0;
border-bottom-width: 0;
}
div#ez-toc-container p.ez-toc-title {
font-size: 17px !important;
}
#ez-toc-container ul {
margin: 20px !important;
}
}