af9f8800 by Jeff Balicki

sss

Signed-off-by: Jeff <jeff@gotenzing.com>
1 parent 5ea7741e
......@@ -14599,7 +14599,7 @@ input[type=checkbox] {
max-width: 100% !important;
}
.wpcf7 .contact-form {
padding-top: 40px;
padding-top: 60px;
max-width: 80% !important;
margin: auto;
}
......@@ -16368,10 +16368,14 @@ td.hidden {
}
.table-like__item {
display: block;
display: flex;
flex-direction: row;
margin-bottom: 20px;
border-radius: 10px;
height: 130px;
flex-wrap: wrap;
align-content: stretch;
align-items: center;
background: #ffffff 0% 0% no-repeat padding-box;
box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.1607843137);
padding: 21px 22px;
......@@ -16383,7 +16387,15 @@ td.hidden {
}
}
.table-like__item .item {
width: 100%;
width: 92%;
}
@media only screen and (max-width: 768px) {
.table-like__item .item {
width: 82%;
}
}
.table-like__item td.item {
vertical-align: middle !important;
}
.table-like__item .item-content {
display: inline-block;
......@@ -16393,6 +16405,7 @@ td.hidden {
line-height: 24px;
}
.table-like__item .item-content a {
display: block;
width: 100%;
font-family: "Poppins", sans-serif;
font-weight: 500;
......@@ -16400,6 +16413,13 @@ td.hidden {
font-size: 16px;
line-height: 24px;
}
.table-like__item .heart {
width: 2%;
float: right;
}
.table-like__item .heart div {
float: right;
}
#resources_wrapper {
margin-top: 20px;
......@@ -16434,6 +16454,15 @@ td.hidden {
}
}
.external-link .item {
width: 96%;
}
@media only screen and (max-width: 768px) {
.external-link .item {
width: 92%;
}
}
.toolkit:before {
content: "";
height: 50px;
......
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.
......@@ -117,7 +117,7 @@ function resources($id){
ob_start();
$post = get_post($id);
$text = str_replace(']]>', ']]&gt;', apply_filters( 'the_content', strip_shortcodes($post->post_content)));
$excerpt_length = apply_filters( 'excerpt_length', 40 );
$excerpt_length = apply_filters( 'excerpt_length', 35 );
$text = wp_trim_words( $text, $excerpt_length, ' ...' );
$categories = get_the_terms( $id, 'resource_category' );
$cat ="";
......@@ -141,14 +141,14 @@ function resources($id){
}
?>
<tr class="table-like__item">
<tr class="table-like__item <?php echo $type; ?>">
<td class="hidden"> <?php echo $type; ?></td>
<td class="item <?php echo $type; ?>"><div class="item-content"><a role="button" <?php echo $target; ?> href="<?php echo $link; ?>"><?php echo $post->post_title; ?></a><br>
<?php echo $text; ?><div>
<td class="item"><div class="item-content"><a class="r-link" role="button" <?php echo $target; ?> href="<?php echo $link; ?>"><?php echo $post->post_title; ?></a>
<?php echo $text; ?>
</td>
<td class="hidden"> <?php echo $cat; ?></td>
<td class="hidden"><?php echo get_post_time('U',false, $id ); ?></td>
<td>
<td class="heart">
<?php if(!is_user_logged_in()){ ?>
<button class="simplefavorite-button" data-bs-toggle="modal" data-bs-target="#login-window" style="">Favorite <i class="sf-icon-star-empty"></i></button>
<?php }else{
......
......@@ -128,7 +128,7 @@ input[type=checkbox]
.wpcf7{
max-width: 100% !important;
.contact-form{
padding-top: 40px;
padding-top: 60px;
max-width: 80% !important;
margin: auto;
input[type=text],input[type=email],textarea{
......
......@@ -68,10 +68,14 @@ td.hidden {
}
}
.table-like__item {
display: block;
display: flex;
flex-direction: row;
margin-bottom: 20px;
border-radius: 10px;
height: 130px;
flex-wrap: wrap;
align-content: stretch;
align-items: center;
@media only screen and (max-width: 768px) {
height: auto;
}
......@@ -80,15 +84,23 @@ td.hidden {
padding: 21px 22px;
width: 100%;
.item {
width: 100%;
width: 92%;
@media only screen and (max-width: 768px) {
width: 82%;
}
}
td.item{
vertical-align: middle !important;
}
.item-content {
display: inline-block;
width: 80%;
vertical-align: top;
font-size: 16px;
line-height: 24px;
a {
display:block;
width: 100%;
font-family: "Poppins", sans-serif;
font-weight: 500;
......@@ -97,6 +109,13 @@ td.hidden {
line-height: 24px;
}
}
.heart{
width: 2%;
float: right;
div{
float: right;
}
}
}
#resources_wrapper {
margin-top: 20px;
......@@ -126,12 +145,20 @@ td.hidden {
}
}
}
.external-link{
.item {
width: 96%;
@media only screen and (max-width: 768px) {
width: 92%;
}
}
}
.toolkit:before {
content: "";
height: 50px;
width: 40px;
margin-right: 10px;
margin-right: 10px;
@media only screen and (max-width: 768px) {
height: 30px;
width: 40px;
......
......@@ -5,7 +5,7 @@
Author: Tenzing Communications
Author URI: https://tenzingbrand.com
Template: understrap
Version: 1.1.0018
Version: 1.1.0019
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: understrap-child
......