content lost template margin
-
Please, help me with this issue, I have tried nearly everything but nothing works!!
As you can see in the following link, if the content is longer than the sidebar, not only the content margin but also the font style has been lost.
https://www.dejatebesar.org/wordpress/?page_id=9
(user= admindejatebesar//password=lavamosaliar)To construct this page, I have created a have created a page template, so the static content is shown at the beginning of the page and the entries of an specific category at the bottom. You can see the template code hereafter:
<?php
/*
Template Name: drbodler
*/get_header();
get_sidebar()?>
<div id=”content”>
<div class=”post” id=”post-<?php the_ID(); ?>”>
<?php if (have_posts()) :
while (have_posts()) :
the_post();?>
<h3><?php the_title();?></h3>
<?php the_content();
endwhile;
endif;?>
</div>
</div>
<div id=”main”>
<div class=”post” id=”post-<?php the_ID(); ?>”>
<?php query_posts(“cat=8”);?>
<?php if (have_posts()) :
while (have_posts()) :
the_post();?><?php if(function_exists(‘the_ratings’)) { the_ratings(); } ?>
<h3>” rel=”bookmark” title=”Permanent Link to <?php the_title(); ?>”><?php the_title(); ?></h3>
<?php the_time(‘F jS, Y’) ?> by <?php the_author() ?>
<div class=”entry”>
<?php the_content();?>
</div>
<p class=”info”>Posted in <?php the_category(‘, ‘) ?> | <?php edit_post_link(‘Edit’,”,’|‘); ?> <?php comments_popup_link(‘No Comments »’, ‘1 Comment »’, ‘% Comments »’); ?></p>
</div>
<?php endwhile;endif;?><?php get_footer();
?></div>
</body>
</html>Thanks in advance!!
- The topic ‘content lost template margin’ is closed to new replies.