Fix banner header on revision designer

This commit is contained in:
Fabiano 2018-06-25 15:58:04 -03:00
parent 0ff56bbfec
commit cfa81ac8ee
2 changed files with 11 additions and 4 deletions

View File

@ -253,6 +253,11 @@ form{
&.page-height{
height: 400px;
> div {
&.ph-title-description{
@media only screen and (min-width: 768px){
margin-bottom: 3.75rem;
}
}
@media only screen and (max-width: 576px){
margin-bottom: 1.5625rem !important;
}
@ -265,8 +270,10 @@ form{
}
}
> div{
@media only screen and (min-width: 768px){
margin-bottom: 3.75rem;
&.ph-title-description{
@media only screen and (min-width: 768px){
margin-bottom: 0;
}
}
@media only screen and (max-width: 576px){
align-self: center;

View File

@ -3,8 +3,8 @@
echo tainacan_get_form_search(); */
?>
<div <?php if ( get_header_image() ) : ?>class="page-header header-filter clear-filter page-height" style="background-image: url('<?php header_image(); ?>')"<?php else: ?>class="page-header header-filter clear-filter" style="background-image: url('<?php echo get_template_directory_uri() ?>/assets/images/capa.png')"<?php endif; ?>>
<div class="container-fluid p-0">
<div <?php if ( get_header_image() ) : ?>class="page-header header-filter clear-filter page-height" style="background-image: url('<?php header_image(); ?>')"<?php else: ?>class="page-header header-filter clear-filter align-items-center" style="background-image: url('<?php echo get_template_directory_uri() ?>/assets/images/capa.png')"<?php endif; ?>>
<div class="container-fluid p-0 ph-title-description">
<div class="bg-white-title title-header">
<h1 class="mb-0">
<?php if(is_home()) { ?> Blog <?php bloginfo('title'); }?>