Skip to content

Commit

Permalink
issue #56
Browse files Browse the repository at this point in the history
  • Loading branch information
matheusgimenez committed Dec 17, 2016
1 parent 3d1f2cb commit 48b43b0
Show file tree
Hide file tree
Showing 4 changed files with 41 additions and 4 deletions.
4 changes: 2 additions & 2 deletions assets/css/style.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/css/style.css.map

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion assets/sass/page-cestas.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
.full-page-thumbnail {
width:100%;
}
body.page-template-page-cestas {
body.page-template-page-cestas,
body.page-template-page-full-width {
#main-navigation .navbar-collapse {
border:none !important;
}
Expand Down
36 changes: 36 additions & 0 deletions page-full-width.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
<?php
/**
* The template for displaying all pages.
*
* This is the template that displays all pages by default.
* Please note that this is the WordPress construct of pages and that other
* 'pages' on your WordPress site will use a different template.
*
* Template name: Página Full Width
*
* @package Odin
* @since 2.2.0
*/

get_header(); ?>
<?php while( have_posts() ) : the_post();?>
<?php the_post_thumbnail( 'full', array( 'class' => 'full-page-thumbnail') );?>
<div class="container">
<div class="row">
<main id="content" class="col-md-12" tabindex="-1" role="main">
<header>
<div class="col-md-12">
<h1>
<?php the_title();?>
</h1>
</div><!-- .col-md-12 -->
</header>
<div class="col-md-12 woocommerce">
<?php the_content();?>
</div><!-- .woocommerce -->
</main><!-- #main -->
</div><!-- .row -->
</div><!-- .container -->
<?php endwhile;?>
<?php
get_footer();

0 comments on commit 48b43b0

Please sign in to comment.