• Resolved webmasterdejatebesar

    (@webmasterdejatebesar)


    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!!

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

    (@root)

    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

    (@webmasterdejatebesar)

    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

    (@webmasterdejatebesar)

    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.