Want to make a custom sidebar.
-
I want to make a custom sidebar (I took out the original menu and shrunk the main table) that will eventually, once I figure that part out, pull some data from other places. However, if I create a sidebar class and put this in the index.php:
‘<div id=”sidebar”>blah blah blah</div>’
and the CSS says . . .
‘#sidebar {
position: absolute;
margin-left: 550px;
margin-right: 0px;
margin-top: 5px;
margin-bottom: 30px;
background-color: #7ba1cc;
border: 1px solid #344563;
position: relative;
color: #ebedf0;
font-size: 110%;
font-weight: bold;
}’
It’s everywhere but where I want it to be. I want it to sit near flush to the main table (i.e. a second column). If I stick it up top near the “rap” code somewhere it sits about where it should, but pushes down all the posts.
If I put it where the <div id=”menu”> code was, it’s down at the bottom.
How do I fix this?
https://tekmonki.com
- The topic ‘Want to make a custom sidebar.’ is closed to new replies.