From 4c90f21cab3557357542a2afddaee4eaa1525d9b Mon Sep 17 00:00:00 2001 From: mateuswetah Date: Mon, 20 Apr 2020 11:51:54 -0300 Subject: [PATCH] Fixes metadata column settings not working. --- src/functions/customizer.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/functions/customizer.php b/src/functions/customizer.php index ab44628..bd87f41 100644 --- a/src/functions/customizer.php +++ b/src/functions/customizer.php @@ -1686,28 +1686,28 @@ function tainacan_single_item_metadata_columns_count_output() { /* Custom Settings for Single Item Page Metadata Columns Count */ @media only screen and (max-width: 768px) { - .tainacan-single-post article .tainacan-content.single-item-collection .single-item-collection--information .s-item-collection--metadata { + .tainacan-single-post .tainacan-content.single-item-collection .single-item-collection--information .s-item-collection--metadata { -moz-column-count: 1 !important; -webkit-column-count: 1 !important; column-count: 1 !important; } } @media only screen and (min-width: 769px) and (max-width: 1024px) { - .tainacan-single-post article .tainacan-content.single-item-collection .single-item-collection--information .s-item-collection--metadata { + .tainacan-single-post .tainacan-content.single-item-collection .single-item-collection--information .s-item-collection--metadata { -moz-column-count: %1$s !important; -webkit-column-count: %1$s !important; column-count: %1$s !important; } } @media only screen and (min-width: 1025px) and (max-width: 1366px) { - .tainacan-single-post article .tainacan-content.single-item-collection .single-item-collection--information .s-item-collection--metadata { + .tainacan-single-post .tainacan-content.single-item-collection .single-item-collection--information .s-item-collection--metadata { -moz-column-count: %2$s !important; -webkit-column-count: %2$s !important; column-count: %2$s !important; } } @media only screen and (min-width: 1367px) { - .tainacan-single-post article .tainacan-content.single-item-collection .single-item-collection--information .s-item-collection--metadata { + .tainacan-single-post .tainacan-content.single-item-collection .single-item-collection--information .s-item-collection--metadata { -moz-column-count: %3$s !important; -webkit-column-count: %3$s !important; column-count: %3$s !important;