From c7877f15a3b71ef955ddd24302c748fe2a8a1255 Mon Sep 17 00:00:00 2001 From: Anthony Talarico Date: Fri, 17 Aug 2018 08:54:49 -0400 Subject: [PATCH] fixing the output of the archive and category post pages for testimonials --- archive.php | 7 ---- content-page.php | 8 +--- content-single.php | 1 - content.php | 28 ------------- footer.php | 9 ----- header.php | 7 +++- js/custom.js | 2 +- parts/glm-client-info.php | 23 ++++++----- style.css | 82 ++++++++++++++++++++++++++++++++------- 9 files changed, 88 insertions(+), 79 deletions(-) diff --git a/archive.php b/archive.php index f1f5be2..b56e12c 100644 --- a/archive.php +++ b/archive.php @@ -14,13 +14,6 @@ get_header(); ?> - - diff --git a/content-page.php b/content-page.php index 5ead1ec..062dc52 100644 --- a/content-page.php +++ b/content-page.php @@ -7,9 +7,7 @@ ?>
> -
- ', '' ); ?> -
+
@@ -20,7 +18,5 @@ ) ); ?>
-
- '. __( 'Edit', 'accesspress-parallax' ), '', '' ); ?> -
+
\ No newline at end of file diff --git a/content-single.php b/content-single.php index 3122aec..2ca25c9 100644 --- a/content-single.php +++ b/content-single.php @@ -53,5 +53,4 @@ $post_date_class = ((!empty($post_date) && $post_date == ' ') || has_post_thumbn ?> -'. __( 'Edit', 'accesspress-parallax' ), '', '' ); ?> diff --git a/content.php b/content.php index 5e60017..9fa0bb9 100644 --- a/content.php +++ b/content.php @@ -38,32 +38,4 @@ $post_date_class = ($post_date != 1 || has_post_thumbnail()) ? " no-date" : ""; ?> - - '. __( 'Edit', 'accesspress-parallax' ), '', '' ); ?> \ No newline at end of file diff --git a/footer.php b/footer.php index d3f35a8..6d1c6b8 100644 --- a/footer.php +++ b/footer.php @@ -29,15 +29,6 @@ - - - -
- Monday–Friday 8 am– 4:30 pm  •  - Saturday and Sunday by appointment only -
- diff --git a/header.php b/header.php index 6921cda..4c1e4f9 100644 --- a/header.php +++ b/header.php @@ -34,7 +34,10 @@
@@ -46,7 +49,7 @@ <?php bloginfo( 'name' ); ?>
- Storage for your Lifestyle + Petoskey - Bay Harbor - Harbor Springs
diff --git a/js/custom.js b/js/custom.js index a6e7f53..a04d00e 100644 --- a/js/custom.js +++ b/js/custom.js @@ -179,5 +179,5 @@ jQuery(document).ready(function($){ // $('.menu').children('li').children("a").on("click", function(e){ // e.preventDefault() // }) - + }); \ No newline at end of file diff --git a/parts/glm-client-info.php b/parts/glm-client-info.php index fe350b3..a1dc6ea 100644 --- a/parts/glm-client-info.php +++ b/parts/glm-client-info.php @@ -3,6 +3,7 @@
+
+
+ Monday–Friday 8 am– 4:30 pm  •  + Saturday and Sunday by appointment only +
- + +
+
  @@ -21,27 +28,23 @@   - - - +
- + +
+
  ,
- -   - - - +
diff --git a/style.css b/style.css index e681f3d..5a2e471 100644 --- a/style.css +++ b/style.css @@ -196,11 +196,14 @@ h6 { } h1 { - font-size: 24px; + font-size: 26px; + color: #004037; + text-transform: uppercase; } h2 { - font-size: 22px; + font-size: 21px; + color: rgb(151, 114, 69); } h3 { @@ -584,8 +587,8 @@ Widgets #secondary .widget { background: #FFF; - padding: 30px; - margin-bottom: 40px; + padding: 20px 30px 0px 30px; + margin-bottom: 0px; } /*-------------------------------------------------------------- @@ -692,9 +695,7 @@ Content #content > .mid-content { /* margin-top: 50px; */ } -.archive #content > .mid-content{ - margin-top: 200px; -} + #primary { width: 69%; float: left; @@ -774,9 +775,7 @@ Posts and pages margin-bottom: 0; } -.archive .hentry { - margin-bottom: 60px; -} + .byline, .updated { @@ -806,7 +805,30 @@ Posts and pages clear: both; margin: 0 0 20px; } - +.archive #content > .mid-content, .single #content > .mid-content{ + margin-top: 200px; +} +.post-type-archive-testimonial .entry-content{ + padding: 10px 20px; + background-color: rgba(33,33,33,.1); + margin: 0; +} +.post-type-archive-testimonial .hentry { + margin-bottom: 0px; + padding-bottom: 5px; + padding-left: 0px; + /* border-bottom: 1px solid #AE8B5F; */ +} +article.testimonial .entry-header .entry-title{ + margin-left: 0px; + margin-bottom: 0px; + text-align: center; + background-color: #004037; + padding: 5px 0; +} +article.testimonial .entry-header .entry-title a{ + color: white; +} .entry-header h1.entry-title { margin-left: 80px; } @@ -1323,9 +1345,23 @@ body.parallax-on .wpcf7-not-valid-tip { z-index: 1; padding: 10px; float: left; - width: 26%; + width: 33%; /* max-width: 180px; */ } +header#masthead div.social-header span.header-links-container .phone-number{ + margin-right: 10px; +} +.header-links-container a{ + color: #004037; +} +.header-links-container a:hover{ + color: #C14D07; +} +@media (min-width: 1000px){ + #site-logo a img{ + max-width: 295px; + } +} .logo-top #site-logo { float: none; @@ -2223,7 +2259,10 @@ Google Map Section .googlemap-toggle.active:after { content: "\f107"; } - +.testimonial_rotator_quote{ + max-width: 500px; + margin: 0 auto; +} #ap-map-canvas { height: 450px !important; width: 100%; @@ -2463,7 +2502,8 @@ Social position: relative; z-index: 99; font-size: 18px; - margin-top: 20px; + margin-top: 5px; + margin-bottom: 15px; } #hours span{ font-size: 17px !important; @@ -2684,7 +2724,7 @@ Responsive grid for pages #footer-phone{ - margin-bottom: 20px; + margin-bottom: 5px; } .portfolio-list{ @@ -2694,6 +2734,9 @@ Responsive grid for pages font-size: 40px; text-align: center; } +.parallax-section:nth-child(3) h2 span{ + color: white; +} .parallax-section:nth-child(3) h3{ font-size: 26px; /* text-align: center; */ @@ -2782,4 +2825,13 @@ video { #section-31 { background-attachment:initial !important; } +} +html body header#masthead #site-navigation ul>li.menu-item>a{ + font-size: 16px; +} +html body.home #content .parallax-section:nth-child(4) .mid-content>h2 { + display: block; +} +html body.home #content .parallax-section:nth-child(3), html body.home #content .parallax-section:nth-child(2){ + border-top: 4px solid #AE8B5F; } \ No newline at end of file -- 2.17.1