I'm having an issue with the layout of my webpage. The new content I add appears below the navbar on the left side of the page instead of beside it. Can someone help me troubleshoot this problem? Below, you'll find the relevant HTML and CSS code along with two images illustrating the current state and the desired outcome.
Check out the comparison images I created using Photoshop:
https://i.sstatic.net/nRqmd.png https://i.sstatic.net/lb2Pw.png
body {
overflow-x: hidden;
}
.sidebar {
width: 260px;
padding-top: 40px;
padding-bottom: 0px;
vertical-align: top;
display: block;
background-color: #292929;
z-index: 100;
height: 100%;
}
.sidebar a {
display: block;
padding: 20px 10px;
border-top: 1px solid #161616;
}
.menu_sidebar {
display: none;
font-size: 20px;
}
<!-- Rest of the CSS and HTML code goes here -->