Php 背景宽度未显示100%

Php 背景宽度未显示100%,php,html,css,wordpress,Php,Html,Css,Wordpress,突然之间,这个页面上的“左二级背景”背景div没有达到屏幕的全宽,我不明白为什么。这是一个基于WordPress的基于骨架框架的网站。以下是页面主体区域的php: <?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?> <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>

突然之间,这个页面上的“左二级背景”背景div没有达到屏幕的全宽,我不明白为什么。这是一个基于WordPress的基于骨架框架的网站。以下是页面主体区域的php:

<?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>

            <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>

            <?php if (!is_page_template('onecolumn-page.php')) { ?>
                <?php if (is_front_page() && !get_post_meta($post->ID, 'hidetitle', true)) { ?>

                    <div class="full left secondary-bg">
                        <div class="container">
                            <div class="sixteen columns alpha">
                                        <div class="eight columns alpha hp">
                                            <?php the_content()?>
                                        </div>
                                        <div class="seven columns offset-by-one omega">
                                            <div class="post-area">
                                                <h2><?php the_field('featured_art_title'); ?></h2>
                                                <div class="featured-post-wrap">
                                                    <img src="<?php the_field('featured_art_image'); ?>" alt="Featured Art Post" />
                                                </div>
                                                    <p>
                                                        <?php the_field('featured_art_description'); ?> <a href="<?php the_field ('view_all'); ?>">View More</a>
                                                    </p>

                                             </div>
                                         </div>
                               </div>
                          </div><!-- container -->
                      </div>

                <?php } elseif (!get_post_meta($post->ID, 'hidetitle', true)) { ?>

                    <h1 class="entry-title"><?php the_title(); ?></h1>

                <?php } else {
                    echo '<br />';
                } ?>
            <?php } ?>

                <!--<div class="full left">

                    <?php wp_link_pages( array( 'before' => '<div class="page-link">' . __( 'Pages:', 'skeleton' ), 'after' => '</div>' ) ); ?>
                    <?php edit_post_link( __( 'Edit', 'skeleton' ), '<span class="edit-link">', '</span>' ); ?>
                </div> .entry-content -->

            <?php comments_template( '', false ); ?>


更改skeleton.css,请更改css中的以下行添加宽度行

.column, .columns                          
 { float: left; display: inline; 
 /*margin-left: 10px; margin-right: 10px;*/
 /* add width to 100% */
 width: 100%;
}

似乎工作正常-Chrome/Windows。