WordPress.org

Ready to get started?Download WordPress

Forums

Need help changing sidebar code (3 posts)

  1. JG99
    Member
    Posted 4 years ago #

    Hello - I am trying to change the location of items in my right sidebar. I want the first item to be a few inches farther down the page. Could someone help me with changing the appropriate value in my style sheet?

    Thank you!

    `[CSS moderated as per the Forum Rules. Please post a link to your site instead.]

  2. csleh
    Member
    Posted 4 years ago #

    Assuming #sidebar is the right sidebar
    `#sidebar {
    display: block;
    border: 0px;
    padding: 0px 0px 0px 0px;
    margin: 0px 0px 0px 20px;
    z-index: 5;
    position: absolute;
    top: 182px;
    left: 0px;
    }'
    Change top: to something greater than 182px. this is only in relation to what the sidebar is absolutely positioned relative to; if the container that sidebar is in doesn't have position:relative it's hard to say where sidebar will show.

  3. JG99
    Member
    Posted 4 years ago #

    I did as you suggested, but it's not working. Instead what happens is my drop-down menu across the top moves around - this is not what I want.

    Do you have any other suggestions? Ideally, if there was a way to just put a blank space in a widget, then I could fill in all the spaces as I wish with either blank spaces or other items down the page!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags