Support » Fixing WordPress » Siderbar wraps below content

  • Hi—-

    For some reason (prob my screw up) the code in my Tropicala theme website for my sidebar keeps wrapping under the content when content stops. The blog is fine because there is much more content there. But my Home page does not have a lot of content so it wraps. Any ideas on how to fix that.


Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi

    Add this line to the bottom of your CSS file style.css
    ul#sidebar { float: right; width: 200px; }

    That should do it.

    By the way, the search forms and Paypal that have been added to your site were not placed in the sidebar section. The site works OK as it is, but things added to the sidebar area really should be added into sidebar.php or whatever the name of your theme’s sidebar file is.

    Thanks for the help man. That worked for the sidebar issue.

    As for the search form and paypal section, I placed those codes in my sider.php . The one problem I was having though is that I could only add it to the top or bottom. My whole sidebar is widgetized so I cant access my code on editor on wordpress. It seems pre-built in the theme. Any sugg’s.

    Thanks again…

    Hey there, folks. From dcdamron4444’s description, I’m having the same problem where my right sidebar wraps below the content on pages where the content is shorter than the length of the sidebar.

    So, everything looks fine on a page like this:

    But things get wonky on a page like this:

    I tried stvwlf’s suggestion to put that code at the bottom of my style.css, but that solution does nothing for my (now severly modified) WordPress default theme-based blog.

    Any suggestions would be very much appreciated.

    Moderator kmessinger


    Change your #sidebar magin-left to 645px and your width to 180px.

    One of many ways. You can also change your narrowcolumn width, etc.

    John LaSala


    Thanks for the reply, kmessinger. It took me a while to hunt down just which instance of sidebar width to change, but once I found it, it worked! You’re a genius! Also, 650px turned to be the better margin-left number, and nothing’s amiss if I leave the sidebar width at 190px where I had it.

    Thanks again!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Siderbar wraps below content’ is closed to new replies.