qa
Signed-off-by: Jeff <jeff@gotenzing.com>
Showing
7 changed files
with
8 additions
and
9 deletions
| ... | @@ -47,7 +47,7 @@ $carousel_style = get_field('carousel_style'); | ... | @@ -47,7 +47,7 @@ $carousel_style = get_field('carousel_style'); |
| 47 | <div class="carousel-content"> | 47 | <div class="carousel-content"> |
| 48 | 48 | ||
| 49 | <div class="row"> | 49 | <div class="row"> |
| 50 | <div class="col-lg-4 col-md-12 promo-image" > | 50 | <div class="col-lg-4 col-md-4 col-sm-12 promo-image" > |
| 51 | <?php $image = get_the_post_thumbnail_url( $page->ID, 'medium' ); | 51 | <?php $image = get_the_post_thumbnail_url( $page->ID, 'medium' ); |
| 52 | $thumbnail_id = get_post_meta( $page->ID, '_thumbnail_id', true ); | 52 | $thumbnail_id = get_post_meta( $page->ID, '_thumbnail_id', true ); |
| 53 | $img_alt = get_post_meta ( $thumbnail_id, '_wp_attachment_image_alt', true ); | 53 | $img_alt = get_post_meta ( $thumbnail_id, '_wp_attachment_image_alt', true ); |
| ... | @@ -57,7 +57,7 @@ $carousel_style = get_field('carousel_style'); | ... | @@ -57,7 +57,7 @@ $carousel_style = get_field('carousel_style'); |
| 57 | ?> | 57 | ?> |
| 58 | <img src="<?php echo $image; ?>" alt="<?php echo $img_alt ?>" loading="eager"> | 58 | <img src="<?php echo $image; ?>" alt="<?php echo $img_alt ?>" loading="eager"> |
| 59 | </div> | 59 | </div> |
| 60 | <div class="col-lg-8 col-md-12"> | 60 | <div class="col-lg-8 col-md-8 col-sm-12"> |
| 61 | <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> | 61 | <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> |
| 62 | </div> | 62 | </div> |
| 63 | </div> | 63 | </div> | ... | ... |
| ... | @@ -20311,10 +20311,9 @@ ul.sf_date_field .sf-datepicker { | ... | @@ -20311,10 +20311,9 @@ ul.sf_date_field .sf-datepicker { |
| 20311 | } | 20311 | } |
| 20312 | 20312 | ||
| 20313 | .promo-image { | 20313 | .promo-image { |
| 20314 | width: 325px; | ||
| 20315 | height: 178px; | 20314 | height: 178px; |
| 20316 | } | 20315 | } |
| 20317 | @media screen and (max-width: 59.375rem) { | 20316 | @media only screen and (max-width: 48.875rem) { |
| 20318 | .promo-image { | 20317 | .promo-image { |
| 20319 | width: 100%; | 20318 | width: 100%; |
| 20320 | height: auto; | 20319 | height: auto; |
| ... | @@ -20339,7 +20338,7 @@ ul.sf_date_field .sf-datepicker { | ... | @@ -20339,7 +20338,7 @@ ul.sf_date_field .sf-datepicker { |
| 20339 | margin-left: 1.25rem; | 20338 | margin-left: 1.25rem; |
| 20340 | text-align: left; | 20339 | text-align: left; |
| 20341 | } | 20340 | } |
| 20342 | @media only screen and (max-width: 62.5rem) { | 20341 | @media only screen and (max-width: 48.875rem) { |
| 20343 | .promo-carousel .promo-text { | 20342 | .promo-carousel .promo-text { |
| 20344 | margin-left: 0rem; | 20343 | margin-left: 0rem; |
| 20345 | margin-top: 1.25rem; | 20344 | 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; | ... | @@ -49,9 +49,9 @@ padding: 0rem 3.125rem; |
| 49 | } | 49 | } |
| 50 | } | 50 | } |
| 51 | .promo-image{ | 51 | .promo-image{ |
| 52 | width: 325px; | 52 | //width: 325px; |
| 53 | height: 178px; | 53 | height: 178px; |
| 54 | @media screen and (max-width: 59.375rem) { | 54 | @media only screen and (max-width: 48.875rem) { |
| 55 | width: 100%; | 55 | width: 100%; |
| 56 | height: auto; | 56 | height: auto; |
| 57 | } | 57 | } |
| ... | @@ -74,7 +74,7 @@ padding: 0rem 3.125rem; | ... | @@ -74,7 +74,7 @@ padding: 0rem 3.125rem; |
| 74 | margin-left: 1.25rem; | 74 | margin-left: 1.25rem; |
| 75 | margin-left: 1.25rem; | 75 | margin-left: 1.25rem; |
| 76 | text-align: left; | 76 | text-align: left; |
| 77 | @media only screen and (max-width: 62.5rem) { | 77 | @media only screen and (max-width: 48.875rem) { |
| 78 | margin-left: 0rem; | 78 | margin-left: 0rem; |
| 79 | margin-top: 1.25rem; | 79 | margin-top: 1.25rem; |
| 80 | } | 80 | } | ... | ... |
-
Please register or sign in to post a comment