Skip to content

Commit 457d291

Browse files
committed
Merge branch 'release/1.3.7'
2 parents 63dfe7f + 913bd17 commit 457d291

File tree

4 files changed

+20
-12
lines changed

4 files changed

+20
-12
lines changed

changelog.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
View full release information on [Github](https://github.com/siteorigin/siteorigin-north/releases).
44

5+
= 1.3.7 - 25 April 2017 =
6+
* Remove undesired spacing as a result of hentry removal on pages.
7+
* Added ability to close header search bar using the escape key.
8+
59
= 1.3.6 - 21 April 2017 =
610
* Added support for WooCommerce product gallery, slider and lightbox.
711
* Updated WooCommerce cart file to version 3.0.3.

js/north.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -396,6 +396,13 @@ jQuery( function ( $ ) {
396396
}
397397
} );
398398

399+
// Close search with escape key.
400+
$( document ).keyup( function( e ) {
401+
if ( e.keyCode == 27 ) { // Escape key maps to keycode `27`.
402+
$( '#close-search.animate-in' ).trigger( 'click' );
403+
}
404+
} );
405+
399406
// Add class to calendar elements that have links
400407
$( '#wp-calendar tbody td:has(a)' ).addClass( 'has-link' );
401408

sass/site/primary/_posts-and-pages.scss

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
display: block;
33
}
44

5-
.hentry {
5+
article.page, article.post {
66

77
> *:first-child {
88
margin-top: 0;
@@ -11,12 +11,10 @@
1111
> *:last-child {
1212
margin-bottom: 0;
1313
}
14-
15-
margin-bottom: 80px;
1614
}
1715

18-
.page .hentry {
19-
margin-bottom: 0;
16+
article.post {
17+
margin-bottom: 80px;
2018
}
2119

2220
.byline,

style.css

Lines changed: 6 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)