I changed the default feature image to a cropped version of the original
example of a default image size. I also made the padding between the
items in the image bar.
letter-spacing: 0.014em;
display: inline-block;
font-weight: normal;
- padding: 0 17px;
+ padding: 0 16px;
text-transform: uppercase; }
#image-bar ul li:before {
content: " ";
$image_data = wp_get_attachment_image_src(get_post_thumbnail_id(), "full");
echo ' style="background-image: url('.$image_data[0].');height:0;padding:0;padding-bottom:20%;background-position:top center;background-size: 100%;background-repeat:no-repeat;max-height: 300px;overflow-y: hidden; "';
} else {
- echo ' style="background-image: url('.get_template_directory_uri().'/assets/sample-header-image.jpg);height:0;padding:0;padding-bottom:20%;background-position:top center;background-size: 100%;background-repeat:no-repeat;max-height: 300px;overflow-y: hidden;"';
+ echo ' style="background-image: url('.get_template_directory_uri().'/assets/RockBandv1.1.jpg);height:0;padding:0;padding-bottom:20%;background-position:top center;background-size: 100%;background-repeat:no-repeat;max-height: 300px;overflow-y: hidden;"';
echo ' class="no-featured"';
}
echo '>';
letter-spacing: 0.014em;
display: inline-block;
font-weight: normal;
- padding: 0 17px;
+ padding: 0 16px;
text-transform: uppercase;
&:before {
content: " ";