border-radius: 5px;
list-style: outside none none;
padding: 20px; }
+body main.members-only-template #menu-side .glm-button {
+ background: transparent;
+ text-decoration: underline;
+ color: white; }
body main.members-only-template #menu-members-only-menu {
list-style: outside none none; }
body main.members-only-template #side-links h2 {
#blog-posts-over .vcard {
border: 0; }
-.blog-feed-post:nth-child(odd) .blog-feed-img {
- float: left;
- padding: 0 15px;
- margin-bottom: 25px; }
- @media only screen and (max-width: 40em) {
- .blog-feed-post:nth-child(odd) .blog-feed-img {
- float: none; }
- .blog-feed-post:nth-child(odd) .blog-feed-img img.wp-post-image {
- text-align: center;
- float: none;
- margin: 0 auto; } }
-.blog-feed-post:nth-child(even) .blog-feed-img {
- float: right;
- padding: 0 15px;
- margin-bottom: 15px; }
- @media only screen and (max-width: 40em) {
- .blog-feed-post:nth-child(even) .blog-feed-img {
- float: none; }
- .blog-feed-post:nth-child(even) .blog-feed-img img.wp-post-image {
- text-align: center;
- float: none;
- margin: 0 auto; } }
-.blog-feed-post img.post-shadow {
- display: block; }
-.blog-feed-post h2 {
- line-height: 1.2;
- text-transform: uppercase;
- font-size: 22px;
- margin-bottom: 0; }
- .blog-feed-post h2 a {
- font-style: normal;
- font-weight: normal; }
-.blog-feed-post .blog-feed-date {
- font-size: 0.75rem;
- color: #939598;
- margin: 0 0 12px; }
-.blog-feed-post p {
- font-size: 1.125rem; }
-.blog-feed-post a.read-more {
- color: #FFFFFF;
- background: #ffc742;
- border-radius: 5px;
- padding: 5px;
- margin-top: 15px;
- display: block;
- width: 145px; }
+.blog-feed-post {
+ /* &:nth-child(odd) {
+ .blog-feed-img {
+ float: left;
+ padding: 0 15px;
+ margin-bottom: 25px;
+ @media only screen and (max-width: 40em) {
+ float: none;
+ img.wp-post-image {
+ text-align: center;
+ float: none;
+ margin: 0 auto;
+ }
+ }
+ }
+ }*/
+ border: 1px solid #434343;
+ border-radius: 4px;
+ padding-right: 0; }
+ .blog-feed-post .blog-feed-img {
+ float: right;
+ padding: 0 0 0 15px;
+ border-top-right-radius: 4px;
+ border-bottom-right-radius: 4px;
+ overflow: hidden;
+ /* margin-bottom: 15px;*/ }
+ @media only screen and (max-width: 40em) {
+ .blog-feed-post .blog-feed-img {
+ float: none; }
+ .blog-feed-post .blog-feed-img img.wp-post-image {
+ text-align: center;
+ float: none;
+ margin: 0 auto; } }
+ .blog-feed-post img.post-shadow {
+ display: block; }
+ .blog-feed-post h2 {
+ line-height: 1.2;
+ text-transform: uppercase;
+ font-size: 22px;
+ margin-bottom: 0; }
+ .blog-feed-post h2 a {
+ font-style: normal;
+ font-weight: normal; }
+ .blog-feed-post .blog-feed-date {
+ font-size: 0.75rem;
+ color: #939598;
+ margin: 0 0 12px; }
+ .blog-feed-post p {
+ font-size: 1.125rem; }
+ .blog-feed-post h1, .blog-feed-post h2, .blog-feed-post h3, .blog-feed-post h4, .blog-feed-post h5, .blog-feed-post h6 {
+ font-size: 1.125rem; }
+ .blog-feed-post a.read-more {
+ color: #b32024;
+ background: transparent;
+ display: inline;
+ width: 145px;
+ white-space: pre; }
.home-feed-post {
padding-bottom: 25px; }
<?php $thumbnail = get_the_post_thumbnail($post->ID, 'blog-feed-front'); ?>
<?php if ($thumbnail) { ?>
<div class="small-8 small-centered medium-uncentered medium-6 columns blog-feed-img">
- <?php echo $thumbnail; ?>
- <img alt="post shadow" class="post-shadow" src="<?php echo esc_url( get_template_directory_uri() ); ?>/assets/post-image-shadow.jpg">
+ <?php echo $thumbnail; ?>
</div>
<div class="small-12 medium-6 columns blog-feed-content">
<?php } else { ?>
<?php $thumbnail = get_the_post_thumbnail($post->ID, 'blog-feed-front'); ?>
<?php if ($thumbnail) { ?>
<div class="small-8 small-centered medium-uncentered medium-4 columns blog-feed-img">
- <?php echo $thumbnail; ?>
- <img alt="post shadow" class="post-shadow" src="<?php echo esc_url( get_template_directory_uri() ); ?>/assets/post-image-shadow.jpg">
+ <?php echo $thumbnail; ?>
</div>
<div class="small-12 medium-8 columns blog-feed-content">
<?php } else { ?>
<div id="glm-member-front-header" class="small-12 columns">
<div class='glm-member-greeting'>Hello, <?php $current_user = wp_get_current_user();echo $current_user->user_login ?>.</div>
- <a class='button glm-button' href="<?php echo wp_logout_url( home_url() ); ?>">Logout</a>
- <?php if (current_user_can("glm_members_member")) { ?>
- <?php $glmAssociateTerms = apply_filters('glm_associate_terms', '');?>
- <a class='button glm-button' href='<?php echo get_admin_url() ?>admin.php?page=glm-members-admin-menu-member'>Enter <?php echo $glmAssociateTerms['term_member_cap']; ?> Admin Area</a>
+ <?php if (true) { ?>
<a class='button glm-button' href="<?php echo get_permalink(get_option("glm_members_database_option_members_only_id")); ?>">Members Home</a>
<?php } ?>
</div>
\ No newline at end of file
<?php glm_members_only_menu(); ?>
<?php } ?>
<?php } ?>
- <h2><a href="<?php echo get_home_url(null, "/?post_type=member_post"); ?>">True North News</a></h2>
+<!-- <h2><a href="<?php // echo get_home_url(null, "/?post_type=member_post"); ?>">True North News</a></h2>-->
+ <hr>
+ <?php if (current_user_can("glm_members_member")) { ?>
+ <?php $glmAssociateTerms = apply_filters('glm_associate_terms', '');?>
+ <a class='button glm-button' href='<?php echo get_admin_url() ?>admin.php?page=glm-members-admin-menu-member'>Update Profile</a>
+ <a class='button glm-button' href="<?php echo wp_logout_url( home_url() ); ?>">Logout</a>
+ <?php } ?>
</div>
\ No newline at end of file
border: 0;
}
.blog-feed-post {
- &:nth-child(odd) {
+/* &:nth-child(odd) {
.blog-feed-img {
float: left;
padding: 0 15px;
}
}
}
- }
- &:nth-child(even) {
- .blog-feed-img {
- float: right;
- padding: 0 15px;
- margin-bottom: 15px;
- @media #{$small-only} {
+ }*/
+ border: 1px solid #434343;
+ border-radius: 4px;
+ padding-right: 0;
+ .blog-feed-img {
+ float: right;
+ padding: 0 0 0 15px;
+ border-top-right-radius: 4px;
+ border-bottom-right-radius: 4px;
+ overflow: hidden;
+/* margin-bottom: 15px;*/
+ @media #{$small-only} {
+ float: none;
+ img.wp-post-image {
+ text-align: center;
float: none;
- img.wp-post-image {
- text-align: center;
- float: none;
- margin: 0 auto;
- }
+ margin: 0 auto;
}
}
}
p {
font-size: rem-calc(18);
}
+ h1, h2, h3, h4, h5, h6 {
+ font-size: rem-calc(18);
+ }
a.read-more {
- color: $white;
- background: $gold;
- border-radius: 5px;
- padding: 5px;
- margin-top: 15px;
- display: block;
+ color: $red;
+ background: transparent;
+ display: inline;
width: 145px;
+ white-space: pre;
}
}
list-style: outside none none;
padding: 20px;
}
+ #menu-side .glm-button {
+ background: transparent;
+ text-decoration: underline;
+ color: white;
+ }
#menu-members-only-menu {
list-style: outside none none;
}