ssss
Signed-off-by: Jeff <jeff@gotenzing.com>
Showing
9 changed files
with
164 additions
and
8 deletions
| ... | @@ -14503,6 +14503,14 @@ h1, .h1 { | ... | @@ -14503,6 +14503,14 @@ h1, .h1 { |
| 14503 | } | 14503 | } |
| 14504 | } | 14504 | } |
| 14505 | 14505 | ||
| 14506 | h1.entry-title, .entry-title.h1 { | ||
| 14507 | color: #0484B8; | ||
| 14508 | } | ||
| 14509 | |||
| 14510 | .resource-template-default .entry-content { | ||
| 14511 | margin-top: 40px; | ||
| 14512 | } | ||
| 14513 | |||
| 14506 | h2, .h2 { | 14514 | h2, .h2 { |
| 14507 | color: #0484B8; | 14515 | color: #0484B8; |
| 14508 | font-size: 40px; | 14516 | font-size: 40px; |
| ... | @@ -14646,6 +14654,7 @@ input[type=checkbox] { | ... | @@ -14646,6 +14654,7 @@ input[type=checkbox] { |
| 14646 | .back { | 14654 | .back { |
| 14647 | text-decoration: none !important; | 14655 | text-decoration: none !important; |
| 14648 | font-size: 20px; | 14656 | font-size: 20px; |
| 14657 | margin-bottom: 20px; | ||
| 14649 | } | 14658 | } |
| 14650 | 14659 | ||
| 14651 | .back::before { | 14660 | .back::before { |
| ... | @@ -14687,6 +14696,22 @@ input[type=checkbox] { | ... | @@ -14687,6 +14696,22 @@ input[type=checkbox] { |
| 14687 | padding: 30px 0px; | 14696 | padding: 30px 0px; |
| 14688 | } | 14697 | } |
| 14689 | 14698 | ||
| 14699 | .wp-block-table { | ||
| 14700 | margin: 40px 0px; | ||
| 14701 | } | ||
| 14702 | .wp-block-table th { | ||
| 14703 | background-color: #0484B8 !important; | ||
| 14704 | color: #fff !important; | ||
| 14705 | } | ||
| 14706 | |||
| 14707 | .table-bordered > :not(caption) > * > *, .wp-block-table table > :not(caption) > * > * { | ||
| 14708 | border-width: 0px !important; | ||
| 14709 | } | ||
| 14710 | |||
| 14711 | .wp-element-caption { | ||
| 14712 | text-align: center; | ||
| 14713 | } | ||
| 14714 | |||
| 14690 | .pre-header { | 14715 | .pre-header { |
| 14691 | background-color: #0484b8; | 14716 | background-color: #0484b8; |
| 14692 | color: #fff; | 14717 | color: #fff; |
| ... | @@ -15724,13 +15749,20 @@ input[type=checkbox] { | ... | @@ -15724,13 +15749,20 @@ input[type=checkbox] { |
| 15724 | padding: 15px 10px 8px 10px; | 15749 | padding: 15px 10px 8px 10px; |
| 15725 | margin-bottom: 20px; | 15750 | margin-bottom: 20px; |
| 15726 | } | 15751 | } |
| 15727 | .js-accordion-item h3, .js-accordion-item .h3 { | 15752 | .js-accordion-item .c-accordion__title { |
| 15753 | color: #0484B8; | ||
| 15754 | font-size: 29px !important; | ||
| 15755 | line-height: 32px !important; | ||
| 15756 | margin-top: 20px !important; | ||
| 15757 | margin-bottom: 20px !important; | ||
| 15758 | font-family: "Open Sans", sans-serif; | ||
| 15728 | margin-top: 0px !important; | 15759 | margin-top: 0px !important; |
| 15760 | text-transform: capitalize; | ||
| 15729 | } | 15761 | } |
| 15730 | @media only screen and (max-width: 768px) { | 15762 | @media only screen and (max-width: 768px) { |
| 15731 | .js-accordion-item h3, .js-accordion-item .h3 { | 15763 | .js-accordion-item .c-accordion__title { |
| 15732 | font-size: 24px; | 15764 | font-size: 24px !important; |
| 15733 | line-height: 34px; | 15765 | line-height: 34px !important; |
| 15734 | } | 15766 | } |
| 15735 | } | 15767 | } |
| 15736 | 15768 | ... | ... |
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.
| 1 | <?php | ||
| 2 | /** | ||
| 3 | * Single post partial template | ||
| 4 | * | ||
| 5 | * @package Understrap | ||
| 6 | */ | ||
| 7 | |||
| 8 | // Exit if accessed directly. | ||
| 9 | defined( 'ABSPATH' ) || exit; | ||
| 10 | ?> | ||
| 11 | |||
| 12 | <article <?php post_class(); ?> id="post-<?php the_ID(); ?>"> | ||
| 13 | |||
| 14 | <header class="entry-header"> | ||
| 15 | |||
| 16 | <?php the_title( '<h1 class="entry-title">', '</h1>' ); ?> | ||
| 17 | |||
| 18 | <div class="entry-meta"> | ||
| 19 | |||
| 20 | <?php // understrap_posted_on(); ?> | ||
| 21 | |||
| 22 | </div><!-- .entry-meta --> | ||
| 23 | |||
| 24 | </header><!-- .entry-header --> | ||
| 25 | |||
| 26 | <?php //echo get_the_post_thumbnail( $post->ID, 'large' ); ?> | ||
| 27 | |||
| 28 | <div class="entry-content"> | ||
| 29 | |||
| 30 | <?php | ||
| 31 | the_content(); | ||
| 32 | understrap_link_pages(); | ||
| 33 | ?> | ||
| 34 | |||
| 35 | </div><!-- .entry-content --> | ||
| 36 | |||
| 37 | <footer class="entry-footer"> | ||
| 38 | |||
| 39 | <?php understrap_entry_footer(); ?> | ||
| 40 | |||
| 41 | </footer><!-- .entry-footer --> | ||
| 42 | |||
| 43 | </article><!-- #post-<?php the_ID(); ?> --> |
wp-content/themes/crlg/single-resource.php
0 → 100644
| 1 | <?php | ||
| 2 | /** | ||
| 3 | * The template for displaying all single posts | ||
| 4 | * | ||
| 5 | * @package Understrap | ||
| 6 | */ | ||
| 7 | |||
| 8 | // Exit if accessed directly. | ||
| 9 | defined( 'ABSPATH' ) || exit; | ||
| 10 | |||
| 11 | get_header(); | ||
| 12 | $container = get_theme_mod( 'understrap_container_type' ); | ||
| 13 | ?> | ||
| 14 | |||
| 15 | <div class="wrapper" id="single-wrapper"> | ||
| 16 | |||
| 17 | <div class="<?php echo esc_attr( $container ); ?>" id="content" tabindex="-1"> | ||
| 18 | |||
| 19 | <div class="row"> | ||
| 20 | <a class="back" href="javascript:void(0)" onclick="history.back()">Back</a> | ||
| 21 | <?php | ||
| 22 | // Do the left sidebar check and open div#primary. | ||
| 23 | //get_template_part( 'global-templates/left-sidebar-check' ); | ||
| 24 | ?> | ||
| 25 | |||
| 26 | <main class="site-main" id="main"> | ||
| 27 | |||
| 28 | <?php | ||
| 29 | while ( have_posts() ) { | ||
| 30 | the_post(); | ||
| 31 | get_template_part( 'loop-templates/content', 'single-resource' ); | ||
| 32 | //understrap_post_nav(); | ||
| 33 | } | ||
| 34 | ?> | ||
| 35 | |||
| 36 | </main> | ||
| 37 | |||
| 38 | <?php | ||
| 39 | // Do the right sidebar check and close div#primary. | ||
| 40 | //get_template_part( 'global-templates/right-sidebar-check' ); | ||
| 41 | ?> | ||
| 42 | |||
| 43 | </div><!-- .row --> | ||
| 44 | |||
| 45 | </div><!-- #content --> | ||
| 46 | |||
| 47 | </div><!-- #single-wrapper --> | ||
| 48 | |||
| 49 | <?php | ||
| 50 | get_footer(); |
| ... | @@ -23,11 +23,18 @@ | ... | @@ -23,11 +23,18 @@ |
| 23 | border-radius: 10px; | 23 | border-radius: 10px; |
| 24 | padding: 15px 10px 8px 10px; | 24 | padding: 15px 10px 8px 10px; |
| 25 | margin-bottom: 20px; | 25 | margin-bottom: 20px; |
| 26 | h3{ | 26 | .c-accordion__title{ |
| 27 | color: #0484B8; | ||
| 28 | font-size: 29px !important; | ||
| 29 | line-height: 32px!important; | ||
| 30 | margin-top: 20px!important; | ||
| 31 | margin-bottom: 20px!important; | ||
| 32 | font-family: 'Open Sans', sans-serif; | ||
| 27 | margin-top: 0px !important; | 33 | margin-top: 0px !important; |
| 34 | text-transform: capitalize; | ||
| 28 | @media only screen and (max-width: 768px) { | 35 | @media only screen and (max-width: 768px) { |
| 29 | font-size: 24px; | 36 | font-size: 24px!important; |
| 30 | line-height: 34px; | 37 | line-height: 34px!important; |
| 31 | } | 38 | } |
| 32 | } | 39 | } |
| 33 | } | 40 | } |
| ... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
| ... | @@ -31,6 +31,15 @@ h1{ | ... | @@ -31,6 +31,15 @@ h1{ |
| 31 | } | 31 | } |
| 32 | } | 32 | } |
| 33 | } | 33 | } |
| 34 | h1.entry-title{ | ||
| 35 | color: #0484B8; | ||
| 36 | } | ||
| 37 | |||
| 38 | .resource-template-default { | ||
| 39 | .entry-content{ | ||
| 40 | margin-top: 40px; | ||
| 41 | } | ||
| 42 | } | ||
| 34 | 43 | ||
| 35 | h2{ | 44 | h2{ |
| 36 | color: #0484B8; | 45 | color: #0484B8; |
| ... | @@ -174,6 +183,7 @@ max-width: 100% !important; | ... | @@ -174,6 +183,7 @@ max-width: 100% !important; |
| 174 | .back{ | 183 | .back{ |
| 175 | text-decoration: none !important; | 184 | text-decoration: none !important; |
| 176 | font-size: 20px; | 185 | font-size: 20px; |
| 186 | margin-bottom: 20px; | ||
| 177 | } | 187 | } |
| 178 | 188 | ||
| 179 | .back::before{ | 189 | .back::before{ |
| ... | @@ -215,3 +225,17 @@ background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/s | ... | @@ -215,3 +225,17 @@ background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/s |
| 215 | text-align: center; | 225 | text-align: center; |
| 216 | padding: 30px 0px; | 226 | padding: 30px 0px; |
| 217 | } | 227 | } |
| 228 | .wp-block-table{ | ||
| 229 | margin: 40px 0px; | ||
| 230 | |||
| 231 | th{ | ||
| 232 | background-color: #0484B8 !important; | ||
| 233 | color: #fff !important; | ||
| 234 | } | ||
| 235 | } | ||
| 236 | .table-bordered>:not(caption)>*>*, .wp-block-table table>:not(caption)>*>*{ | ||
| 237 | border-width: 0px !important | ||
| 238 | } | ||
| 239 | .wp-element-caption{ | ||
| 240 | text-align: center; | ||
| 241 | } | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
| ... | @@ -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.0020 | 8 | Version: 1.1.0021 |
| 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 | ... | ... |
-
Please register or sign in to post a comment