Horizontally Displayed Sidebar on a Static Homepage

  • Unknown's avatar

    Hello,

    I recently found a tutorial that assisted me in creating a new homepage sidebar php file in order to add a sidebar to my static homepage. I registered the new sidebar, and I am now able to drag widgets to it. It is also visible on the homepage, but it is a staggered mess rather than a streamlined horizontal row.

    The php file (with internal styling) is as follows:

    <style>
    #sidebar {
    bottom:0;
    width:100%;
    height:350px;
    }
    #sidebar li {
    list-style-type:none;
    float:right;
    padding-left:30px
    padding-right:30px
    width:260px;
    }
    </style>
    <div id=”sidebar”>

      <?php
      if ( !function_exists(‘dynamic_sidebar’) || !dynamic_sidebar(‘homepage-sidebar’) ) :
      endif; ?>

    </div>

    What am I doing wrong? I’m in the process of reading a ton of CSS literature and I can’t quite seem to identify what went wrong. If you can give me a hint, that would be lovely, or even direct me to some additional literature.

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    You are in the wrong forum and need to be at WordPress.ORG for assistance with that version of the software.

  • Unknown's avatar

    Crap, didn’t double check the site url! Sorry about that and thanks for pointing it out

  • The topic ‘Horizontally Displayed Sidebar on a Static Homepage’ is closed to new replies.