Header collection

This commit is contained in:
Fabiano Alencar 2018-05-14 12:25:19 -03:00
parent ec6e6d12d5
commit fd1256a4b3
1 changed files with 21 additions and 24 deletions

View File

@ -7,15 +7,15 @@
*/ */
?> ?>
<div class="t-collection--background-title p-5"></div> <div class="t-collection--background-title"></div>
<div class="container-fluid"> <div class="container-fluid">
<div class="row t-collection--info ml-sm-5"> <div class="row t-collection--info ml-sm-5">
<div class="col pr-0"> <div class="col pr-0">
<img src="<?php echo get_the_post_thumbnail_url(tainacan_get_collection_id()); ?>" class="t-collection--info-img rounded-circle img-fluid d-none d-md-block"> <img src="<?php echo get_the_post_thumbnail_url(tainacan_get_collection_id()); ?>" class="t-collection--info-img rounded-circle img-fluid d-none d-md-block border border-white">
</div> </div>
<div class="col-10 pl-0"> <div class="col-10 pl-0">
<h2 class="mt-3 mt-md-0 t-collection--info-title"><?php tainacan_the_collection_name(); ?></h2> <h2 class="mt-3 mt-md-0 t-collection--info-title text-white"><?php tainacan_the_collection_name(); ?></h2>
<div class="d-flex justify-content-between container ml-0 pl-0"> <div class="d-flex justify-content-between container ml-0 pl-0 position-absolute" style="top: 15px">
<div><?php tainacan_the_collection_description(); ?></div> <div><?php tainacan_the_collection_description(); ?></div>
<div> <div>
<a href="#" class="">Icon 1</a> <a href="#">Icon 2</a> <a href="#" class="">Icon 1</a> <a href="#">Icon 2</a>
@ -23,7 +23,7 @@
</div> </div>
</div> </div>
</div> </div>
</div> </div>
<?php <?php
$bread = "<ol class='breadcrumb pb-0 mb-1' style='background: transparent'>"; $bread = "<ol class='breadcrumb pb-0 mb-1' style='background: transparent'>";
@ -31,7 +31,8 @@
$bread .= "<li class='breadcrumb-item'><a href='#'>Site</a></li>"; $bread .= "<li class='breadcrumb-item'><a href='#'>Site</a></li>";
$bread .= "<li class='breadcrumb-item active' aria-current='page'>Blog</li>"; $bread .= "<li class='breadcrumb-item active' aria-current='page'>Blog</li>";
$bread .= "</ol>"; $bread .= "</ol>";
if(has_nav_menu('navMenubelowHeader')) : ?> ?>
<?php if(has_nav_menu('navMenubelowHeader')) : ?>
<nav class="navbar navbar-expand-md navbar-light bg-white px-1 border-bottom" role="navigation"> <nav class="navbar navbar-expand-md navbar-light bg-white px-1 border-bottom" role="navigation">
<div class="container-fluid max-large"> <div class="container-fluid max-large">
<?php /* if(wp_is_mobile()) echo $bread; */ ?> <?php /* if(wp_is_mobile()) echo $bread; */ ?>
@ -55,7 +56,3 @@
</div> </div>
</nav> </nav>
<?php endif; ?> <?php endif; ?>
<!-- <nav aria-label="breadcrumb" class="d-none d-md-flex">
<?php //echo $bread; ?>
</nav> -->
<div class="container-fluid mt-5 max-large">