Adds 'tainacan-content' class to post headers so they are properly styled.

This commit is contained in:
mateuswetah 2019-11-25 12:02:37 -03:00
parent 4cb4e7e571
commit ef8835c3c5
4 changed files with 11 additions and 3 deletions

View File

@ -223,6 +223,14 @@
.wp-block-column:not(:first-child) {
margin-left: 2.0833333%; // Half column
}
@media only screen and (max-width: 576px) {
.wp-block-column:not(:last-child) {
margin-right: 0;
}
.wp-block-column:not(:first-child) {
margin-left: 0;
}
}
}
.alignleft {
float:left;

File diff suppressed because one or more lines are too long

View File

@ -23,7 +23,7 @@
<div class="mt-3 tainacan-single-post collection-single-item">
<article role="article" id="post_<?php the_ID()?>" <?php post_class()?>>
<header class="mb-4">
<header class="mb-4 tainacan-content">
<div class="header-meta text-muted mb-5">
<span class="time"><?php tainacan_meta_date_author(); ?></span>
<?php if(function_exists('tainacan_the_item_edit_link')) {

View File

@ -1,6 +1,6 @@
<article role="article" id="post_<?php the_ID()?>" <?php post_class()?>>
<?php if (!is_page_template( 'page-templates/landing.php' ) && !is_page_template( 'page-templates/landing-breadcrumb.php' ) ) : ?>
<header class="mb-4">
<header class="mb-4 tainacan-content">
<div class="header-meta text-muted mb-5 d-flex">
<?php if ( ! is_singular( 'page' ) ) { ?>
<?php tainacan_meta_date_author(); ?>