Revised Single Items of collection.

This commit is contained in:
Fabiano 2018-06-21 11:11:41 -03:00
parent ac9870779d
commit b83af11b52
2 changed files with 37 additions and 8 deletions

View File

@ -95,7 +95,7 @@
h3{
color: #000;
font-size: 14px;
font-weight: 800;
font-weight: 700;
}
p {
color: #000;
@ -105,13 +105,27 @@
margin-right: 0.5rem;
}
}
.s-item-collection--metadata{
h3{
color: #000;
font-size: 14px;
font-weight: 700;
}
p{
color: #000;
font: {
size: 12px;
weight: 400;
}
}
}
}
}
}
footer{
font-size: 14px;
color: #000;
font-weight: 500;
font-weight: 400;
a{
font-weight: 400;
}

View File

@ -1,9 +1,11 @@
<?php get_header(); ?>
<div class="container-fluid mt-5 max-large">
<!-- Get the menu if is create in panel admin -->
<?php get_template_part( 'template-parts/menuBellowBanner' ); ?>
<main class="mt-5 max-large margin-one-column">
<div class="row">
<div class="col col-sm mx-sm-auto">
<div id="content" role="main">
<?php if(have_posts()): ?>
<?php while(have_posts()): the_post(); ?>
<div class="tainacan-title">
@ -82,7 +84,7 @@
</div>
</div>
</div>
<div class="col">
<div class="col s-item-collection--metadata">
<?php
$args = ['before_title' => '<div class="card border-0"><div class="card-body bg-white border-0 pl-0 pt-0 pb-1"><h3>', 'after_title' => '</h3></div>', 'after_value' => '</p></div>'];
//$field = null;
@ -93,13 +95,26 @@
</div>
</section>
</article>
<div class="row">
<!-- Container -->
<div class="col mt-3 mx-auto">
<?php
if ( comments_open() || get_comments_number() ) :
comments_template();
endif; ?>
</div>
</div>
</div>
<?php endwhile; ?>
<?php else: ?>
<?php _e('Nothing found', 'tainacan-theme'); ?>
<?php endif; ?>
</div><!-- /#content -->
</div>
</div><!-- /.row -->
</div>
<?php get_footer(); ?>
</main>
<?php get_footer(); ?>
<script>
jQuery('#topNavbar').addClass('b-bottom-top');
jQuery('nav.menu-belowheader').removeClass('border-bottom');
jQuery('nav.menu-belowheader .max-large').addClass('b-bottom-bellow');
</script>