Support » Themes and Templates » Problem with widget in sidebar

  • Resolved zzuum


    I create my wordpress theme. I add one sidebar with widgets with

    <?php dynamic_sidebar( 'footer-5' );?> ..

    But when i 2 widget in it they are one over another.. and i want that they be one below the other.

    I have class for that widget. I think that can be fixed in css, but i need help. Can you tell me some idea how to do that.
    That is my class.
    If I change position they will be next to each other and i don’t wnat that.

    .sidebarwdg {
          position: absolute;
          margin-left: 7%;
          width: 200px;

    Thank you.

Viewing 1 replies (of 1 total)
  • Without viewing your website, its kind of hard to tell what is causing the problem, but I think it might be the position: absolute line.

    Position absolute takes the element out of the normal flow of the page layout. Try removing it or using position: relative instead.

Viewing 1 replies (of 1 total)
  • The topic ‘Problem with widget in sidebar’ is closed to new replies.