6488e857 by Jeff Balicki

qa

Signed-off-by: Jeff <jeff@gotenzing.com>
1 parent bfc96a5f
......@@ -47,7 +47,7 @@ $carousel_style = get_field('carousel_style');
<div class="carousel-content">
<div class="row">
<div class="col-lg-4 col-md-12 promo-image" >
<div class="col-lg-4 col-md-4 col-sm-12 promo-image" >
<?php $image = get_the_post_thumbnail_url( $page->ID, 'medium' );
$thumbnail_id = get_post_meta( $page->ID, '_thumbnail_id', true );
$img_alt = get_post_meta ( $thumbnail_id, '_wp_attachment_image_alt', true );
......@@ -57,7 +57,7 @@ $carousel_style = get_field('carousel_style');
?>
<img src="<?php echo $image; ?>" alt="<?php echo $img_alt ?>" loading="eager">
</div>
<div class="col-lg-8 col-md-12">
<div class="col-lg-8 col-md-8 col-sm-12">
<div class="promo-text"><?php echo get_the_excerpt($page->ID); ?> <a class="understrap-read-more-link" href="<?php echo get_permalink($page->ID);?>">READ MORE</a></div>
</div>
</div>
......
......@@ -20311,10 +20311,9 @@ ul.sf_date_field .sf-datepicker {
}
.promo-image {
width: 325px;
height: 178px;
}
@media screen and (max-width: 59.375rem) {
@media only screen and (max-width: 48.875rem) {
.promo-image {
width: 100%;
height: auto;
......@@ -20339,7 +20338,7 @@ ul.sf_date_field .sf-datepicker {
margin-left: 1.25rem;
text-align: left;
}
@media only screen and (max-width: 62.5rem) {
@media only screen and (max-width: 48.875rem) {
.promo-carousel .promo-text {
margin-left: 0rem;
margin-top: 1.25rem;
......
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
......@@ -49,9 +49,9 @@ padding: 0rem 3.125rem;
}
}
.promo-image{
width: 325px;
//width: 325px;
height: 178px;
@media screen and (max-width: 59.375rem) {
@media only screen and (max-width: 48.875rem) {
width: 100%;
height: auto;
}
......@@ -74,7 +74,7 @@ padding: 0rem 3.125rem;
margin-left: 1.25rem;
margin-left: 1.25rem;
text-align: left;
@media only screen and (max-width: 62.5rem) {
@media only screen and (max-width: 48.875rem) {
margin-left: 0rem;
margin-top: 1.25rem;
}
......
......@@ -2,6 +2,6 @@
Theme Name: MSF CA Child
Author: Tenzing Communications
Template: msf-ca
Version: 1.0.492
Version: 1.0.493
*/
......