Skip to content

Commit

Permalink
Merge pull request #460 from equalizedigital/feature/local-dev-branch
Browse files Browse the repository at this point in the history
Feature/local dev branch
  • Loading branch information
tronsymphony authored Oct 21, 2023
2 parents 2573c2f + 08b7ec4 commit 3dfefae
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 6 deletions.
2 changes: 1 addition & 1 deletion assets/css/main.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/css/main.css.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions assets/scss/partials/_singular.scss
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@
.entry-content {
@import "entry-content";
max-width: $container-width;
padding: 30px 0;
// padding: 30px 0;
margin: 0 auto;
@include media(">tablet") {
padding: 100px $container-padding;
// padding: 100px $container-padding;
}

.alignfull {
Expand Down
1 change: 1 addition & 0 deletions assets/scss/partials/_site-footer.scss
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@

ul {
list-style: none;
padding: 0;
}

.widget-title {
Expand Down
8 changes: 6 additions & 2 deletions template-parts/blocks/team-hightlight/template.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,12 @@
if ( !empty( $member->ID) ) {
$image_url = wp_get_attachment_image_src( $thumbnail_id, 'full' );
$featured_image_url = $image_url[0];
echo wp_kses_post( '<img src="' . $featured_image_url . '" alt="' . get_the_title( $member->ID ) . '">' );
}
if(!empty($featured_image_url)){
echo wp_kses_post( '<img src="' . $featured_image_url . '" alt="' . get_the_title( $member->ID ) . '">' );
} else {
echo wp_kses_post( '<img style="object-fit: contain;padding:10px;" src="/wp-content/themes/student-loan-planner-theme/assets/images/SLP-Logo.png" alt="' . get_the_title( $member->ID ) . '">' );
}
}
?>
</figure>
<div class="team-hightlight-block-container-team-hightlight-member__content">
Expand Down

0 comments on commit 3dfefae

Please sign in to comment.