Changed the columns of metadata in single items of collection

This commit is contained in:
Fabiano Alencar 2018-09-04 16:29:54 -03:00
parent 6a5949c6fc
commit f36b753f4d
2 changed files with 12 additions and 11 deletions

View File

@ -408,11 +408,11 @@
}
.s-item-collection--metadata{
div {
-webkit-column-break-inside: avoid;
/* -webkit-column-break-inside: avoid;
-moz-column-break-inside:avoid;
-moz-page-break-inside:avoid;
page-break-inside: avoid;
break-inside: avoid-column;
break-inside: avoid-column; */
}
@media only screen and (min-width: 768px){
-moz-column-count: 2;
@ -422,7 +422,7 @@
-webkit-column-gap: 0;
-webkit-column-rule: none;
column-count: 2;
column-gap: 0;
column-gap: 4rem;;
column-rule: none;
}
@media only screen and (min-width: 1408px){
@ -441,6 +441,9 @@
font-size: 14px;
font-weight: 700;
padding-right: 1rem;
&:first-of-type:last-of-type {
display: inline-block;
}
}
p{
color: #000;

View File

@ -85,7 +85,7 @@
<section class="tainacan-content single-item-collection margin-two-column">
<div class="single-item-collection--information justify-content-center">
<div class="row">
<div class="col-12 col-md-4">
<div class="col s-item-collection--metadata">
<div class="card border-0">
<div class="card-body bg-white border-0 pl-0 pt-0 pb-1">
<h3><?php _e('Thumbnail', 'tainacan-theme'); ?></h3>
@ -116,13 +116,11 @@
</div>
</div>
</div>
</div>
<div class="col col-md-8 s-item-collection--metadata">
<?php
$args = array('before_title' => '<div><h3>', 'after_title' => '</h3>', 'before_value' => '<p>', 'after_value' => '</p></div>');
//$field = null;
tainacan_the_metadata($args);
?>
<?php
$args = array('before_title' => '<div><h3>', 'after_title' => '</h3>', 'before_value' => '<p>', 'after_value' => '</p></div>');
//$field = null;
tainacan_the_metadata($args);
?>
</div>
</div>
</div>