0
這是我迄今爲止設計的。但是,當我在手機上預覽我的網站時,方形盒子會相互擠壓,形成矩形。如何從較小的屏幕進行預覽時以最佳方式顯示?方形框在較小的屏幕上調整爲矩形
這裏是用來顯示 「公司章程」 行代碼:
<div class="row" style="margin-top: 3%">
<div class="small-3 columns">
<h2 class="entry-title">Articles</h1>
</div>
<div class="small-9 columns">
<?php query_posts(array('category_name=articles', 'posts_per_page' => 4));?>
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<div class="small-3 columns">
<?php get_template_part('content-box', get_post_format()); ?>
</div>
<?php endwhile; ?>
<?php endif; ?>
</div>
</div>