Corrigida a altura da imagem da interna de colecao

This commit is contained in:
Alvino Rodrigues 2019-03-14 16:01:17 -03:00
parent 9a0d4a936e
commit 884aaf2328
2 changed files with 7 additions and 5 deletions

View File

@ -23,7 +23,13 @@ if ( $background_color ) {
echo '</style>';
?>
<div <?php if ( get_header_image() ) : ?>class="page-header header-filter page-height" style="background-image: url('<?php header_image(); ?>')"<?php else : ?>class="page-header header-filter page-collection" style="background-image: url('<?php echo esc_url( get_template_directory_uri() ) ?>/assets/images/capa.png')"<?php endif; ?>>
<?php if ( get_header_image() ) : ?>
<div class="page-header header-filter page-height page-header--image-full">
<img class="page-header__image" src="<?php header_image(); ?>" alt="Imagem">
<?php else : ?>
<div class="page-header header-filter page-collection page-header--image-full">
<img class="page-header__image" src="<?php echo esc_url( get_template_directory_uri() ) ?>/assets/images/capa.png" alt="Imagem">
<?php endif; ?>
<div class="container-fluid px-0 t-bg-collection" style="<!-- z-index: 0; -->">
<div class="collection-header position-relative max-large" style="">
<?php do_action( 'tainacan-interface-collection-header' ); ?>

View File

@ -34,10 +34,6 @@ $src = wp_get_attachment_image_src($image, 'full');
</div>
<?php do_action( 'tainacan-interface-taxonoy-description' ); ?>
<div class="col-12 col-lg-4 d-flex flex-wrap page-header-share">
<div class="page-header-icons">
<p class="share-title"><?php _e('Export', 'tainacan-interface'); ?></p>
<a href="" class="icon-export"><i class="mdi mdi-export"></i></a>
</div>
<div class="page-header-icons">
<p class="share-title"><?php _e('Share', 'tainacan-interface'); ?></p>
<?php if ( true == get_theme_mod( 'tainacan_facebook_share', true ) ) : ?>