【发布时间】:2013-02-11 16:13:10
【问题描述】:
我试图让 php 中的侧边栏处于正确的位置。 我在 php 中制作了一个模板并使用响应式 css。但每次我 尝试将侧边栏显示在我发布的第一篇文章的最后一个水平位置
请看下面的例子
http://profesorprofesor.net63.net/error.png
有没有办法正确刷新或移动粉色侧边栏?
请帮助我,我整天都在尝试解决问题。
这里是php代码:
<div class="post">
<article>
<header class="wp">
<h2><a href=" <?php the_permalink(); ?>">
<?php the_title(); ?> </a></h2>
<div class="entry">
<p> <?php the_content(); ?> </p>
<p class="postmetadata">
<?php _e('Filed under:'); ?>
<?php the_category(', ') ?>
<?php _e('by'); ?>
<?php the_author(); ?> <br/>
<?php comments_popup_link('No Comments »', '1 Comment »', '% Comments »'); ?>
<?php edit_post_link('Edit', ' | ', ''); ?>
</p>
</div>
</header>
</article>
</div>
<?php endwhile; ?>
<?php endif; ?>
<div class="alado" > gola</div>
<aside>
<h3>Ignacio Nieto, </h3>
<p> </aside>
【问题讨论】:
-
请发布相关页面的所有 HTML 和 CSS 代码。
-
代码太长,这里放不下。我发了一个我上传的链接profesorprofesor.net63.net/compress.zip 只有主html和主css
标签: php css wordpress templates sidebar