#still {
margin-top: 0;
padding-top: 0;
- background-size: cover !important;
- background-position: center !important;
- background-repeat: no-repeat;
+ background-size: contain !important;
+ /* background-position: center !important;*/
+ background-repeat: no-repeat !important;
position: relative; }
@media only screen and (min-width:40.063em) and (max-width:64em) {
#still {
- min-height: 150px !important; } }
+ min-height: 257px !important; } }
@media only screen and (max-width: 40em) {
#still {
- min-height: 70px !important; } }
+ min-height: 140px !important; } }
#still.no-image {
height: 100px;
border-top: 1px solid grey; }
/* */
/* 5.4 Time.ly event calendar */
+.timely .ai1ec-allday-badge {
+ display: none; }
+
.events_mini .ai1ec-btn-toolbar, .events_mini .ai1ec-calendar-toolbar, .events_mini .ai1ec-views-dropdown {
display: none; }
border: 1px solid lightgrey;
border-radius: 5px; }
+.ai1ec-event-wrap footer, .ai1ec-categories {
+ display: none; }
+
/* End Time.ly event calendar */
.cycle-slide img {
width: 100%;
jQuery(document).ready(function(){
jQuery(".top-bar > section > ul > li > a").attr('href','#');
jQuery(".left-off-canvas-menu > ul.off-canvas-list > div > ul > li > a:first-child").attr('href','#');
+ if ($('.ai1ec-event-description').length > 0) { // it exists }
+ var str = "Curbside Recycling";
+ var newhtml = $('.ai1ec-event-description').html().replace(str, '<br><b>' + str + '</b>');
+ $('.ai1ec-event-description').html(newhtml);
+ var str = "Drop-off Center";
+ var newhtml = $('.ai1ec-event-description').html().replace(str, '<b>' + str + '</b>');
+ $('.ai1ec-event-description').html(newhtml);
+ }
});
-
</script>
</html>
\ No newline at end of file
/* Header for posts*/
function GLM_get_header() {
- echo '<header';
-
if (has_post_thumbnail()) {
$image_data = wp_get_attachment_image_src(get_post_thumbnail_id(), "full");
- echo ' style="background: url('.$image_data[0].');min-height: '.$image_data[2].'px;';
+ echo '<header id="still" style="background: url('.$image_data[0].');'
+ . 'min-height: '.$image_data[2].'px;max-height: 400px"></header>';
} else {
- echo ' style="background: url('.get_template_directory_uri().'/assets/default-header.jpg);min-height:200px;';
+ echo '<header id="still" style="background: url('.get_template_directory_uri().'/assets/default-header.jpg);'
+ . 'min-height: 400px;max-height: 400px"></header>';
}
- echo 'max-height: 200px; ">';
- echo '</header>';
}
<?php get_header(); ?>
<div class="row">
<div class="small-12 columns side_space">
- <header id="still"
<?php
GLM_get_header();
?>
- </header>
</div>
</div>
<div id="main" class="row">
<img class="left" src="<?php bloginfo('template_url'); ?>/assets/sm-logo.png">
</div>
<div id="locate" class="medium-9 medium-offset-4">
- <p>Emmet County Department of Public Works<br>200 Division Street, Petoskey, MI 49770 • 231-348-1702</p>
+ <p>Emmet County Department of Public Works<br>200 Division Street, G-76, Petoskey, MI 49770 • 231-348-0640</p>
</div>
</div>
</div>
#still {
margin-top: 0;
padding-top: 0;
- background-size: cover !important;
- background-position: center !important;
- background-repeat: no-repeat;
+ background-size: contain !important;
+/* background-position: center !important;*/
+ background-repeat: no-repeat !important;
position: relative;
@media #{$medium-only} {
- min-height: 150px !important;
+ min-height: 257px !important;
}
@media #{$small-only} {
- min-height: 70px !important;
+ min-height: 140px !important;
}
&.no-image {
height: 100px;
font-size: 18px;
color: #000;
font-family: Open Sans, sans-serif;
-}
+}
#phone {
font-family: Open Sans, sans-serif;
font-size: 20px;
/* */
/* 5.4 Time.ly event calendar */
+.timely {
+ .ai1ec-allday-badge {
+ display: none;
+ }
+}
.events_mini {
.ai1ec-btn-toolbar,
.ai1ec-calendar-toolbar,
border: 1px solid lightgrey;
border-radius: 5px;
}
+.ai1ec-event-wrap footer,
+.ai1ec-categories {
+ display: none;
+}
/* End Time.ly event calendar */