WordPress.org

Ready to get started?Download WordPress

Forums

Removing margins from sidebar? (7 posts)

  1. moussempes
    Member
    Posted 1 year ago #

    There's a really large margin to the left of the sidebar which is cutting off images on the top of my content area. It seems to span from the very top until the categories drop down box. Don't know where and how to fix this. Anyone?

  2. Andrew
    Forum Moderator
    Posted 1 year ago #

    Are you using a custom theme? You can reduce the appearance of the margin left by reducing the width of the sidebar.

  3. moussempes
    Member
    Posted 1 year ago #

    Yes. It's a custom theme. Would you change that in Sidebar.php? Or is it something to fix in the .css?

  4. Andrew
    Forum Moderator
    Posted 1 year ago #

    Change it in the stylesheet of your Child Theme.

  5. Jose Castaneda
    Member
    Posted 1 year ago #

    It's not a margin, it is actually the background-color setting of the #secondary and #third divs. The color is set to #ffffff (white), you don't really need that rule so just take out:
    background-color: #FFFFFF;
    and it should be fine.

  6. moussempes
    Member
    Posted 1 year ago #

    Perfect!! That worked! Thank you!!!

  7. Jose Castaneda
    Member
    Posted 1 year ago #

    You're welcome.

Topic Closed

This topic has been closed to new replies.

About this Topic