Support » Themes and Templates » Where is my sidebar

  • I am creating my own template and I cleared out the CSS file. Everything on the page went left justified. I installed my header,footer and sidebar design and everything looks ok. Then I went in the admin section under design/widgets and added a few items to the sidebar1. When I refreshed my site the sidebar design went into hiding and the widgets showed up on the bottom left justified with out my design. My question is where is the code/file that puts the widgets/sidebar1 on the screen so I can add my design around it. I can’t locate the file. If I remove the widgets the default items show up on the sidebar with design.

    Thanks Mike

Viewing 2 replies - 1 through 2 (of 2 total)
  • Try going into your CSS file and shrinking the width of your content area and maybe widening the width of your sidebar. It sounds like some of the items your adding is breaking the width of the sidebar, causing it to be larger than the allotted space and forcing it to show at the bottom of the page.




    the standard sidebar disappears when you use widgets, as you have discovered.

    the design elements for widgets is inside wp-includes/widgets.php.

    That said, that file shouldn’t be edited; you should be using the theme’s functions.php for that.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Where is my sidebar’ is closed to new replies.