Support » Themes and Templates » I designed a custom theme – sidebar (navigation menu) help…

  • I designed a custom template for my wordpress site,, but the position of the sidebar (nav menu) is not constant. The home page sidebar is where it should be, but when I go to the other pages it moves. I am also having trouble with the index.php – I want to make a container for the main content <div id=”container> and from there I want to be able to add content from the wordpress dashboard. I am including my css and index.php.

    [CSS moderated – a link to your site is enough to access the stylesheet]


    [please use the ‘code’ button to mark any direct posted code]


    <?php get_header(); ?>
    	<div id="container"></div><!-- END container -->
    <?php get_sidebar(); ?>
    <?php get_footer(); ?>

    If anyone can help I would greatly appreciate it!! If I need to include anything else, please let me know.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Okay, I fixed the sidebar it by editing in the editor mode on the wordpress dashboard. I was using a text editor.
    I also realized I needed to edit the page.php file instead of index.php. Now all I need help with is how to create an editable regions for the main content. Thanks

    I think I got it! I inserted to php code after my div tag on the page.php.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘I designed a custom theme – sidebar (navigation menu) help…’ is closed to new replies.