WordPress.org

Ready to get started?Download WordPress

Forums

I designed a custom theme - sidebar (navigation menu) help... (3 posts)

  1. katefox
    Member
    Posted 3 years ago #

    I designed a custom template for my wordpress site, http://www.dixiefriendgay.com/wordpress, 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]

    CSS:

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

    INDEX.PHP:

    <?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.
    Thanks,
    Kate

  2. katefox
    Member
    Posted 3 years ago #

    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

  3. katefox
    Member
    Posted 3 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Topic