Cool, that looks to be working. Thanks Stiofan.
If you get another customer who uses Directory+ from AIT Themes, first pity them on a poor theme choice, then let then have the following remedial steps to get Geodirectory working properly – it’s a list of the changes you’ve suggested and the CSS changes I’ve made.
Add the following to the CSS
body .clearfix{ height:inherit; visibility:inherit; }
.geodir_category_list_view li .geodir-post-img .geodir_thumbnail, #geodir-post-gallery a .geodir_thumbnail { background-size: contain !important; }
main#geodir-main-content.home-page { float: left; }
main.home-page { width: 63%; }
.directory .right-bck { border-left: none; }
.geodir-cat-list-tax { display: table !important; }
.geodir_textarea {
border-width: 1px;
border: 1px solid rgba(0,0,0,0.3);
border-radius: 4px 4px 4px 4px;
-moz-border-radius: 4px 4px 4px 4px;
-webkit-border-radius: 4px 4px 4px 4px;
}
#propertyform .geodir_form_row { overflow: visible; }
Add to functions.php
// Add extra class to GeoDirectory homepage
add_filter(‘body_class’, ‘gd_detal_body_class’);
function gd_detal_body_class($classes) {
if (function_exists(‘geodir_is_page’) && geodir_is_page(‘detail’)) {
$classes[] = ‘right-sidebar’;
}
return $classes;
}
Disable jQuery selectbox
/wp-content/themes/directory2/design/js/script.js?ver=4.6
initSelectBox(); change to: //initSelectBox();