• 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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter Anonymous

    Sorry, I tried to post this in the templates/design forum but posting doesn’t seem to work in there for some reason.

    Instead of using the margin to position it, try “top:5px; left:550px;”. Also, you should take out either the relative or absolute positioning, there’s no point to having both of them in there.

    Thread Starter Anonymous

    Dur. I didn’t even see the second positioning going on in there. That fixed it.
    One step down . . . 54 million to go . . .
    Thanks!

    No problem! Is your menu working fine now?

    Thread Starter Anonymous

    Well, I’ve got soooo much to do still. I feel really facking lost sometimes, I swear. It looks ok now, but it’s totally not what I want.
    I “get it”, but then I don’t get it.
    Ahhhhhhhhh!
    https://www.ads-software.com/support/3/13909

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Want to make a custom sidebar.’ is closed to new replies.