This commit is contained in:
Hoang Huu 2020-03-24 08:44:42 +07:00
parent 73fb75c3fd
commit 32c3a3da9a
3 changed files with 20 additions and 0 deletions

View File

@ -587,6 +587,9 @@ jQuery( document ).ready( function ( $ ) {
success: function ( data ) { success: function ( data ) {
if ( data ) { if ( data ) {
$content.html( 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 ) { success: function ( data ) {
if ( data ) { if ( data ) {
$content.html( data ); $content.html( data );
$( 'html, body' ).animate( {
scrollTop: $( '.ajax-load-properties' ).offset().top - 100
}, 500 );
} }
} }
} ); } );

View File

@ -4002,3 +4002,10 @@ header#masthead {
background: #2f73e9; background: #2f73e9;
position: absolute; position: absolute;
top: 0; } top: 0; }
.type-opalestate_property {
margin-bottom: 30px;
background-color: #FFF;
border: solid 1px #ebebeb;
position: relative;
}

View File

@ -670,3 +670,10 @@ header{
} }
} }
} }
.type-opalestate_property {
margin-bottom: 30px;
background-color: #FFF;
border: solid 1px #ebebeb;
position: relative;
}