diff --git a/assets/js/opalestate.js b/assets/js/opalestate.js index a1366df1..d2abbd1f 100755 --- a/assets/js/opalestate.js +++ b/assets/js/opalestate.js @@ -587,6 +587,9 @@ jQuery( document ).ready( function ( $ ) { success: function ( data ) { if ( data ) { $content.html( data ); + $( 'html, body' ).animate( { + scrollTop: $( '.ajax-load-properties' ).offset().top - 100 + }, 500 ); } } } ); @@ -599,6 +602,9 @@ jQuery( document ).ready( function ( $ ) { success: function ( data ) { if ( data ) { $content.html( data ); + $( 'html, body' ).animate( { + scrollTop: $( '.ajax-load-properties' ).offset().top - 100 + }, 500 ); } } } ); diff --git a/assets/opalestate.css b/assets/opalestate.css index d4f252dc..a4040036 100755 --- a/assets/opalestate.css +++ b/assets/opalestate.css @@ -4002,3 +4002,10 @@ header#masthead { background: #2f73e9; position: absolute; top: 0; } + +.type-opalestate_property { + margin-bottom: 30px; + background-color: #FFF; + border: solid 1px #ebebeb; + position: relative; +} diff --git a/assets/scss/opalestate/_properties-loop.scss b/assets/scss/opalestate/_properties-loop.scss index e4cfbc2d..2f0c010d 100755 --- a/assets/scss/opalestate/_properties-loop.scss +++ b/assets/scss/opalestate/_properties-loop.scss @@ -670,3 +670,10 @@ header{ } } } + +.type-opalestate_property { + margin-bottom: 30px; + background-color: #FFF; + border: solid 1px #ebebeb; + position: relative; +}