Title: content lost template margin
Last modified: August 18, 2016

---

# content lost template margin

 *  Resolved [webmasterdejatebesar](https://wordpress.org/support/users/webmasterdejatebesar/)
 * (@webmasterdejatebesar)
 * [19 years, 2 months ago](https://wordpress.org/support/topic/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.
 * [http://www.dejatebesar.org/wordpress/?page_id=9](http://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!!

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [Root](https://wordpress.org/support/users/root/)
 * (@root)
 * [19 years, 2 months ago](https://wordpress.org/support/topic/content-lost-template-margin/#post-528754)
 * You could not have made it more dofficult for people to help you if you tried.
   The javascript on your access form disables my tabs. I am out. You want a private
   blog? Then run it privately.
 *  Thread Starter [webmasterdejatebesar](https://wordpress.org/support/users/webmasterdejatebesar/)
 * (@webmasterdejatebesar)
 * [19 years, 2 months ago](https://wordpress.org/support/topic/content-lost-template-margin/#post-528762)
 * The blog has a user and a password because is not finished yet. I was providing
   the user/password in this forum.
 * Anyway, I have already disabled the access restriction, so you can now enter 
   without problems.
 * Sorry for the inconveniences.
 *  Thread Starter [webmasterdejatebesar](https://wordpress.org/support/users/webmasterdejatebesar/)
 * (@webmasterdejatebesar)
 * [19 years, 2 months ago](https://wordpress.org/support/topic/content-lost-template-margin/#post-528773)
 * The problem is now solved. It was generated by a mistake in the page template.
   
   Thanks anyway.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘content lost template margin’ is closed to new replies.

## Tags

 * [margin](https://wordpress.org/support/topic-tag/margin/)
 * [style](https://wordpress.org/support/topic-tag/style/)

 * 3 replies
 * 2 participants
 * Last reply from: [webmasterdejatebesar](https://wordpress.org/support/users/webmasterdejatebesar/)
 * Last activity: [19 years, 2 months ago](https://wordpress.org/support/topic/content-lost-template-margin/#post-528773)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
