af9f8800 by Jeff Balicki

sss

Signed-off-by: Jeff <jeff@gotenzing.com>
1 parent 5ea7741e
...@@ -14599,7 +14599,7 @@ input[type=checkbox] { ...@@ -14599,7 +14599,7 @@ input[type=checkbox] {
14599 max-width: 100% !important; 14599 max-width: 100% !important;
14600 } 14600 }
14601 .wpcf7 .contact-form { 14601 .wpcf7 .contact-form {
14602 padding-top: 40px; 14602 padding-top: 60px;
14603 max-width: 80% !important; 14603 max-width: 80% !important;
14604 margin: auto; 14604 margin: auto;
14605 } 14605 }
...@@ -16368,10 +16368,14 @@ td.hidden { ...@@ -16368,10 +16368,14 @@ td.hidden {
16368 } 16368 }
16369 16369
16370 .table-like__item { 16370 .table-like__item {
16371 display: block; 16371 display: flex;
16372 flex-direction: row;
16372 margin-bottom: 20px; 16373 margin-bottom: 20px;
16373 border-radius: 10px; 16374 border-radius: 10px;
16374 height: 130px; 16375 height: 130px;
16376 flex-wrap: wrap;
16377 align-content: stretch;
16378 align-items: center;
16375 background: #ffffff 0% 0% no-repeat padding-box; 16379 background: #ffffff 0% 0% no-repeat padding-box;
16376 box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.1607843137); 16380 box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.1607843137);
16377 padding: 21px 22px; 16381 padding: 21px 22px;
...@@ -16383,7 +16387,15 @@ td.hidden { ...@@ -16383,7 +16387,15 @@ td.hidden {
16383 } 16387 }
16384 } 16388 }
16385 .table-like__item .item { 16389 .table-like__item .item {
16386 width: 100%; 16390 width: 92%;
16391 }
16392 @media only screen and (max-width: 768px) {
16393 .table-like__item .item {
16394 width: 82%;
16395 }
16396 }
16397 .table-like__item td.item {
16398 vertical-align: middle !important;
16387 } 16399 }
16388 .table-like__item .item-content { 16400 .table-like__item .item-content {
16389 display: inline-block; 16401 display: inline-block;
...@@ -16393,6 +16405,7 @@ td.hidden { ...@@ -16393,6 +16405,7 @@ td.hidden {
16393 line-height: 24px; 16405 line-height: 24px;
16394 } 16406 }
16395 .table-like__item .item-content a { 16407 .table-like__item .item-content a {
16408 display: block;
16396 width: 100%; 16409 width: 100%;
16397 font-family: "Poppins", sans-serif; 16410 font-family: "Poppins", sans-serif;
16398 font-weight: 500; 16411 font-weight: 500;
...@@ -16400,6 +16413,13 @@ td.hidden { ...@@ -16400,6 +16413,13 @@ td.hidden {
16400 font-size: 16px; 16413 font-size: 16px;
16401 line-height: 24px; 16414 line-height: 24px;
16402 } 16415 }
16416 .table-like__item .heart {
16417 width: 2%;
16418 float: right;
16419 }
16420 .table-like__item .heart div {
16421 float: right;
16422 }
16403 16423
16404 #resources_wrapper { 16424 #resources_wrapper {
16405 margin-top: 20px; 16425 margin-top: 20px;
...@@ -16434,6 +16454,15 @@ td.hidden { ...@@ -16434,6 +16454,15 @@ td.hidden {
16434 } 16454 }
16435 } 16455 }
16436 16456
16457 .external-link .item {
16458 width: 96%;
16459 }
16460 @media only screen and (max-width: 768px) {
16461 .external-link .item {
16462 width: 92%;
16463 }
16464 }
16465
16437 .toolkit:before { 16466 .toolkit:before {
16438 content: ""; 16467 content: "";
16439 height: 50px; 16468 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){ ...@@ -117,7 +117,7 @@ function resources($id){
117 ob_start(); 117 ob_start();
118 $post = get_post($id); 118 $post = get_post($id);
119 $text = str_replace(']]>', ']]&gt;', apply_filters( 'the_content', strip_shortcodes($post->post_content))); 119 $text = str_replace(']]>', ']]&gt;', apply_filters( 'the_content', strip_shortcodes($post->post_content)));
120 $excerpt_length = apply_filters( 'excerpt_length', 40 ); 120 $excerpt_length = apply_filters( 'excerpt_length', 35 );
121 $text = wp_trim_words( $text, $excerpt_length, ' ...' ); 121 $text = wp_trim_words( $text, $excerpt_length, ' ...' );
122 $categories = get_the_terms( $id, 'resource_category' ); 122 $categories = get_the_terms( $id, 'resource_category' );
123 $cat =""; 123 $cat ="";
...@@ -141,14 +141,14 @@ function resources($id){ ...@@ -141,14 +141,14 @@ function resources($id){
141 } 141 }
142 ?> 142 ?>
143 143
144 <tr class="table-like__item"> 144 <tr class="table-like__item <?php echo $type; ?>">
145 <td class="hidden"> <?php echo $type; ?></td> 145 <td class="hidden"> <?php echo $type; ?></td>
146 <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> 146 <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>
147 <?php echo $text; ?><div> 147 <?php echo $text; ?>
148 </td> 148 </td>
149 <td class="hidden"> <?php echo $cat; ?></td> 149 <td class="hidden"> <?php echo $cat; ?></td>
150 <td class="hidden"><?php echo get_post_time('U',false, $id ); ?></td> 150 <td class="hidden"><?php echo get_post_time('U',false, $id ); ?></td>
151 <td> 151 <td class="heart">
152 <?php if(!is_user_logged_in()){ ?> 152 <?php if(!is_user_logged_in()){ ?>
153 <button class="simplefavorite-button" data-bs-toggle="modal" data-bs-target="#login-window" style="">Favorite <i class="sf-icon-star-empty"></i></button> 153 <button class="simplefavorite-button" data-bs-toggle="modal" data-bs-target="#login-window" style="">Favorite <i class="sf-icon-star-empty"></i></button>
154 <?php }else{ 154 <?php }else{
......
...@@ -128,7 +128,7 @@ input[type=checkbox] ...@@ -128,7 +128,7 @@ input[type=checkbox]
128 .wpcf7{ 128 .wpcf7{
129 max-width: 100% !important; 129 max-width: 100% !important;
130 .contact-form{ 130 .contact-form{
131 padding-top: 40px; 131 padding-top: 60px;
132 max-width: 80% !important; 132 max-width: 80% !important;
133 margin: auto; 133 margin: auto;
134 input[type=text],input[type=email],textarea{ 134 input[type=text],input[type=email],textarea{
......
...@@ -68,10 +68,14 @@ td.hidden { ...@@ -68,10 +68,14 @@ td.hidden {
68 } 68 }
69 } 69 }
70 .table-like__item { 70 .table-like__item {
71 display: block; 71 display: flex;
72 flex-direction: row;
72 margin-bottom: 20px; 73 margin-bottom: 20px;
73 border-radius: 10px; 74 border-radius: 10px;
74 height: 130px; 75 height: 130px;
76 flex-wrap: wrap;
77 align-content: stretch;
78 align-items: center;
75 @media only screen and (max-width: 768px) { 79 @media only screen and (max-width: 768px) {
76 height: auto; 80 height: auto;
77 } 81 }
...@@ -80,15 +84,23 @@ td.hidden { ...@@ -80,15 +84,23 @@ td.hidden {
80 padding: 21px 22px; 84 padding: 21px 22px;
81 width: 100%; 85 width: 100%;
82 .item { 86 .item {
83 width: 100%; 87 width: 92%;
88 @media only screen and (max-width: 768px) {
89 width: 82%;
90 }
91 }
92 td.item{
93 vertical-align: middle !important;
84 } 94 }
85 .item-content { 95 .item-content {
86 display: inline-block; 96 display: inline-block;
87 width: 80%; 97 width: 80%;
98
88 vertical-align: top; 99 vertical-align: top;
89 font-size: 16px; 100 font-size: 16px;
90 line-height: 24px; 101 line-height: 24px;
91 a { 102 a {
103 display:block;
92 width: 100%; 104 width: 100%;
93 font-family: "Poppins", sans-serif; 105 font-family: "Poppins", sans-serif;
94 font-weight: 500; 106 font-weight: 500;
...@@ -97,6 +109,13 @@ td.hidden { ...@@ -97,6 +109,13 @@ td.hidden {
97 line-height: 24px; 109 line-height: 24px;
98 } 110 }
99 } 111 }
112 .heart{
113 width: 2%;
114 float: right;
115 div{
116 float: right;
117 }
118 }
100 } 119 }
101 #resources_wrapper { 120 #resources_wrapper {
102 margin-top: 20px; 121 margin-top: 20px;
...@@ -126,12 +145,20 @@ td.hidden { ...@@ -126,12 +145,20 @@ td.hidden {
126 } 145 }
127 } 146 }
128 } 147 }
148 .external-link{
149 .item {
150 width: 96%;
151 @media only screen and (max-width: 768px) {
152 width: 92%;
153 }
154 }
155 }
129 156
130 .toolkit:before { 157 .toolkit:before {
131 content: ""; 158 content: "";
132 height: 50px; 159 height: 50px;
133 width: 40px; 160 width: 40px;
134 margin-right: 10px; 161 margin-right: 10px;
135 @media only screen and (max-width: 768px) { 162 @media only screen and (max-width: 768px) {
136 height: 30px; 163 height: 30px;
137 width: 40px; 164 width: 40px;
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
5 Author: Tenzing Communications 5 Author: Tenzing Communications
6 Author URI: https://tenzingbrand.com 6 Author URI: https://tenzingbrand.com
7 Template: understrap 7 Template: understrap
8 Version: 1.1.0018 8 Version: 1.1.0019
9 License: GNU General Public License v2 or later 9 License: GNU General Public License v2 or later
10 License URI: http://www.gnu.org/licenses/gpl-2.0.html 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html
11 Text Domain: understrap-child 11 Text Domain: understrap-child
......