Skip to content

Commit 28dd45f

Browse files
committed
Updated info block icons
1 parent e212302 commit 28dd45f

File tree

9 files changed

+17
-333
lines changed

9 files changed

+17
-333
lines changed

view/frontend/templates/post/info.phtml

+8-8
Original file line numberDiff line numberDiff line change
@@ -100,14 +100,6 @@
100100
<?php } ?>
101101
<?php } ?>
102102

103-
<!-- reading time -->
104-
<?php if ($block->readingTimeEnabled() && $_post->getReadingTime()) { ?>
105-
<div class="item post-reading-time">
106-
<i class="mf-blog-icon mfbi-reading-time"></i>
107-
<span class="value"><?= $block->escapeHtml($_post->getReadingTime()) . ' ' . __('min read') ?></span>
108-
</div>
109-
<?php } ?>
110-
111103
<?php if ($block->viewsCountEnabled()) { ?>
112104
<?php if ($viewsCount = $_post->getViewsCount()) { ?>
113105
<div class="item post-views">
@@ -120,4 +112,12 @@
120112
<?php } ?>
121113
<?php } ?>
122114

115+
<!-- reading time -->
116+
<?php if ($block->readingTimeEnabled() && $_post->getReadingTime()) { ?>
117+
<div class="item post-reading-time">
118+
<i class="mf-blog-icon mfbi-reading-time"></i>
119+
<span class="value"><?= $block->escapeHtml($_post->getReadingTime()) . ' ' . __('min read') ?></span>
120+
</div>
121+
<?php } ?>
122+
123123
</div>

view/frontend/web/css/blog-m.css

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
.post-holder .post-header .post-info {padding: 0 0 20px 0;}
2323
.post-holder .post-header .post-info .item {display: inline-block}
2424
.post-holder .post-header .post-info .dash {display: none; /* fix for old templates */}
25-
.post-holder .post-header .post-info .label {font-weight: 700;}
25+
.post-holder .post-header .post-info .label {font-weight: 600;}
2626
.post-holder .post-header .post-info .value {font-style: italic;}
2727
.post-holder .post-header .post-info .item::after {display: inline-block; content: ' | ';color:#b9b9b9}
2828
.post-holder .post-header .post-info .item:last-child::after{display: none}
@@ -223,7 +223,7 @@
223223
.mf-blog-icon.mfbi-tags {background-image: url('../images/tags-icon.svg')}
224224
.mf-blog-icon.mfbi-user {background-image: url('../images/user-icon.svg')}
225225
.mf-blog-icon.mfbi-views {background-image: url('../images/views-icon.svg')}
226-
.mf-blog-icon.mfbi-reading-time {background-image: url('../images/views-icon.svg')}
226+
.mf-blog-icon.mfbi-reading-time {background-image: url('../images/time-icon.svg')}
227227
/* END Fix Related Products */
228228

229229

+1-56
Loading
+1-62
Loading
+1-43
Loading
+1-54
Loading
+1
Loading
+1-55
Loading
+1-53
Loading

0 commit comments

Comments
 (0)