WordPress.org

Ready to get started?Download WordPress

Forums

Where is my sidebar (3 posts)

  1. webmike
    Member
    Posted 5 years ago #

    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

  2. Selorian
    Member
    Posted 5 years ago #

    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.

  3. whooami
    Member
    Posted 5 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic