WordPress.org

Ready to get started?Download WordPress

Forums

[Theme: Twenty Thirteen] (2 posts)

  1. polo3
    Member
    Posted 8 months ago #

    Hi I have a trouble with my desing.

    I need see the footer on widht:100%.

    But I don't know whats happend, my style.css code is the netx:

    /**** FOOTER ****/
    .site-footer {
    	 background-color: #FFFFFF;
        text-align: center;
    
    	-webkit-box-shadow: 0px -2px 5px rgba(50, 50, 50, 0.27);
    	-moz-box-shadow:    0px -2px 5px rgba(50, 50, 50, 0.27);
    	box-shadow:         0px -2px 5px rgba(50, 50, 50, 0.27);
        width:100%;
    
    	min-width: 1024px;
    
    	height:45px;
    
    	position: fixed;
    	bottom:0px;
    	float:left;
    	z-index: 1000;
    
    }

    My footer.php is the next:

    <footer id="colophon" class="site-footer" role="contentinfo">
    			<?php get_sidebar( 'main' ); ?>
    			<div class="peu">
                    <div class="social-footer">
                        <div class="siguenos">SÍGUENOS</div>
                        <div class="facebook-footer" href="#" target="_blank"></div>
                        <div class="twitter-footer" href="#" target="_blank"></div>
    
                    </div>
    
                    <div class="logo-novartis"></div>
                </div>
             </div><!-- #main -->
    		</div><!-- #page -->
    </footer><!-- #colophon -->
    <?php wp_footer(); ?>
    </body>
    </html>

    And my page.php is the next:

    <?php
    /*
    Template Name: page-inicio
    */
    
    get_header(); ?>
    
    	<div id="primary" class="content-area">
    		<div id="content" class="site-content" role="main">
    
    		  <?php
    				//query_posts("category_name=project");
    				$i=0;
    				$paged = (get_query_var('paged')) ? get_query_var('paged') : 1;
    				$args=array(
    					'post_type'=>'post',
    					'order'=>'ASC',
    					'post_per_page' => '-1',
    					'paged' => $paged,
    					'posts_per_page' => 16
    				);
    				query_posts($args);
    			?>
    
               	<?php while ( have_posts() ) : the_post();
    
    					//var_dump(get_field('id_video'));
    					//echo '<iframe width="420" height="315" src="//www.youtube.com/embed/'.(get_field("id_video")).'?rel=0" frameborder="0" allowfullscreen></iframe>';
    				$category = get_the_category();
    				echo '<a href="'.get_permalink().'"><div class="destacat pos_'. $i % 5 .' cat-'.$category[0]->slug.'">';
               			echo '<div class="caixa-destacada"></div>';
    					echo '<div class="text-resum">'.(get_field("text-resum")).'</div>';
    					echo '<div class="text-more">leer más...</div>';
    					//var_dump($category);
    					echo '<div class="text-categoria">'.$category[0]->slug.'</div>';
    
                        $i=$i+1;
                      echo '</div></a>';  
    
    					/*get_template_part( 'content', 'page' ); ?>
    					<?php comments_template( '', true ); */ ?>
    
    			<?php endwhile; // end of the loop. ?>
    
    		</div><!-- #content -->
    	</div><!-- #primary -->
    
    <?php get_sidebar(); ?>
    <?php get_footer(); ?>

    I attach a screenshot... now don't work fine....

    <img src="http://i43.tinypic.com/dfd6hx.png" border="0" alt="Image and video hosting by TinyPic">

  2. polo3
    Member
    Posted 8 months ago #

Reply

You must log in to post.

About this Topic

Tags