add column to single post

This commit is contained in:
Fabiano Alencar 2018-03-19 13:57:12 -03:00
parent eec4aed15d
commit a7e1b7db66
2 changed files with 20 additions and 3 deletions

View File

@ -1,8 +1,25 @@
article{
main{
header{
img{
max-width: 100%;
height: auto;
}
}
main{
&.tainacan-content {
font-size: 1.1666666666666667rem;
-moz-column-count: 2;
-moz-column-gap: 50px;
-moz-column-rule: none;
-webkit-column-count: 2;
-webkit-column-gap: 50px;
-webkit-column-rule: none;
column-count: 2;
column-gap: 50px;
column-rule: none;
&h1, &h2{
font-size: 1.6666666666666667rem;
}
}
}
}

View File

@ -14,10 +14,10 @@
tainacan_post_date();
?>
</div>
<?php the_post_thumbnail(); ?>
</header>
<main>
<main class="tainacan-content">
<?php
the_post_thumbnail();
the_content();
wp_link_pages();
?>