Custom post type in slider front page Breaking layout

The issue is caused by your ajax call which is returning the empty response.
like see in your code

$.ajax({
            url : ajaxurl,
            type: 'post',
            data : {
                action : 'playersmain',
                position: position,
                ranking: ranking,
                search: search,
                state: state
            },
            success : function( response ) {
                $(".ajax-content2").html(response);
            }
        });

This ajax call is made through themes/probeis-child/assets/scripts.js