Skip to content

Commit 58b5542

Browse files
authored
CTP-3668 reduce image size (#16)
1 parent b0a8242 commit 58b5542

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lang/en/block_news.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
$string['date'] = 'Post date';
3535
$string['date_help'] = 'Post date sets the order of display, not the date it becomes visible.';
3636
$string['image'] = 'Image';
37-
$string['image_help'] = 'Images of 200px height and 325px width work best. Images will vary in size to fit different screen sizes.';
37+
$string['image_help'] = 'Images of 140px height and 325px width work best. Images will vary in size to fit different screen sizes.';
3838
$string['description'] = 'Description';
3939
$string['description_help'] = 'Short text, no more that 140 characters.';
4040
$string['link'] = 'Link (href)';

templates/newsitem.mustache

+2-2
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@
3232

3333
<div class="block-news-item-image mb-3"
3434
style="background-image: url('{{{image}}}');
35-
height: 200px;
35+
height: 140px;
3636
background-size: cover;
37-
background-position: top center;">
37+
background-position: center;">
3838

3939
{{! UCL arrow. }}
4040
<div class="text-right pt-3">

0 commit comments

Comments
 (0)