Viewing 3 replies - 1 through 3 (of 3 total)
  • bdbrown

    (@bdbrown)

    Hi Chandra. Just takes a bit of math.
    Sidebar width: 340px
    FB box width: 250px
    Leaves 90px to divide equally on both sides = 45px
    Default widget padding is 30px so need to add 15px on the left:

    .fb_iframe_widget {
        margin-left: 15px;
    }
    Thread Starter dcsreddy

    (@dcsreddy)

    It helps but in smart phone, it did not make any difference.

    bdbrown

    (@bdbrown)

    Try using a media query:

    @media only screen and (max-width: 479px) {
      .sidebar .widget {
        margin-left: 25px !important;
      }
    }
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Centering the facebook like box in the sidebar’ is closed to new replies.