index.php does not show div
-
Ok as I cannot make a new topic for some weird reason – says im not logged in?? I will start here as it quiet similair to my problem
Here we go –
The problem that iv’e got is that my “div main” does not show what it is supposed to show. I’ve put my theme into starkers, uploaded it and there we go. This is what I got.
This imageWhile it is supposed to show this image between the top( the colorfull bar) and the bottom bar –
And thisNow what did I do wrong. this is the code I’ve got so far in my header.php:
<?php get_header(); ?> <div id="main"> <?php if (have_posts()) : ?> <?php while (have_posts()) : the_post(); ?> <div class="post" id="post-<?php the_ID(); ?>"> <p><?php the_time('F jS, Y') ?> <!-- by <?php the_author() ?> --></p> <?php the_content('Read the rest of this entry »'); ?> <p><?php the_tags('Tags: ', ', ', '<br />'); ?> Posted in <?php the_category(', ') ?> | <?php edit_post_link('Edit', '', ' | '); ?> <?php comments_popup_link('No Comments »', '1 Comment »', '% Comments »'); ?></p> </div> <?php endwhile; ?> <div id="rightmenu"> <ul> <li><a href="https://www.facebook.com/" target="_blank"><img src="images/facebook.png"alt="" /></a></li> <li style="margin-top: 17px;"><a href="http:/www.hyves.nl/" target="_blank"><img src="images/hyves.png" alt="" /></a></li> <li style="margin-top: 35px;"><a href="https://www.twitter.com/thedolphinacademy/" target="_blank"><img src="images/tweet.png" alt="" /></a></li> <li style="margin-top: 35px;"><a href="https://www.flickr.com/thedolphinacademy" target="_blank"><img src="images/flickr.png" alt="" /></a></li> <li><a href="#"></a></li> </ul> </div> </div> <?php endif; ?> <?php get_sidebar(); ?> <?php get_footer(); ?>
Please tell me where I went wrong.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘index.php does not show div’ is closed to new replies.