Full width on cover image and remove sidebar of single and pages
This commit is contained in:
parent
4f8be8e62d
commit
b72d1b95d1
|
@ -27,6 +27,24 @@
|
|||
img {
|
||||
max-width: 100%;
|
||||
}
|
||||
.wp-block-cover-image{
|
||||
width: 100vw;
|
||||
position: relative;
|
||||
left: 50%;
|
||||
right: 50%;
|
||||
margin-left: -50vw;
|
||||
margin-right: -50vw;
|
||||
}
|
||||
.wp-block-embed{
|
||||
iframe{
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
.wp-block-gallery{
|
||||
@media (max-width: 768px){
|
||||
padding-left: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -22,7 +22,7 @@ if(!function_exists('tainacan_setup')) {
|
|||
// This is all for compatibility with versions of WordPress prior to 3.4.
|
||||
define( 'HEADER_TEXTCOLOR', $custom_header_support['default-text-color'] );
|
||||
}
|
||||
|
||||
add_theme_support( 'align-wide' );
|
||||
add_theme_support( 'html5', array( 'comment-list' , 'comment-form') );
|
||||
add_theme_support( 'post-thumbnails' );
|
||||
|
||||
|
|
|
@ -33,4 +33,4 @@ get_header('banner'); ?>
|
|||
<nav aria-label="breadcrumb" class="d-none d-md-flex">
|
||||
<?php echo $bread; ?>
|
||||
</nav>
|
||||
<div class="container-fluid mt-5">
|
||||
<div class="container-fluid mt-5" style="overflow-x: hidden;">
|
|
@ -6,8 +6,5 @@
|
|||
<?php get_template_part('template-parts/loop'); ?>
|
||||
</div><!-- /#content -->
|
||||
</div>
|
||||
|
||||
<?php get_sidebar(); ?>
|
||||
|
||||
</div><!-- /.row -->
|
||||
<?php get_footer(); ?>
|
|
@ -5,6 +5,5 @@
|
|||
<?php get_template_part('template-parts/loop'); ?>
|
||||
</div><!-- /#content -->
|
||||
</div>
|
||||
<?php get_sidebar(); ?>
|
||||
</div><!-- /.row -->
|
||||
<?php get_footer(); ?>
|
Loading…
Reference in New Issue