fixed featured image

master
Chris Punches 2018-01-30 17:59:31 -05:00
parent 5eb0189517
commit b69d6a2026
2 changed files with 8 additions and 2 deletions

View File

@ -28,6 +28,7 @@ get_header();
<div class="article-meta"><?php echo get_the_date('Y-m-d'); ?></div>
</header>
<?php
$featured_image = get_the_post_thumbnail_url(get_the_ID(), 'featuredImageFull');
?>
@ -46,8 +47,9 @@ get_header();
</div>
<?php endif; ?>
<p align="center"><img src="<?php echo $featured_image; ?>"></p>
<div class="featured-image">
<p align="center"><img class="featured-image" src="<?php echo $featured_image; ?>"></p>
</div>
<div class="article-entry" itemprop="articleBody">
<?php

View File

@ -1486,6 +1486,10 @@ ol.commentlist li.thread-even {}
ol.commentlist li.thread-odd {}
.featured-image {
width: 100%;
}
#submit {
font-family: Arial;
color: #ffffff;