Compatibility problem
This topic contains 8 replies, has 3 voices, and was last updated by Graham Watkins 9 years ago.
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket-
AuthorPosts
-
August 25, 2016 at 7:28 am #253099
I’m getting somewhere sorting out the CSS problems I have with my chosen theme but I have hit an issue with which I need some guidance – http://geodev.capechamber.auric-consulting.com/gd-home/. For some reason there are extra drop down lists, and the drop down list in the geodir-search div has ‘display: none’ inline added, I think, by some JS.
Same thing here – http://geodev.capechamber.auric-consulting.com/places/hotels/, with the View selection drop down list, plus the pagination seems a bit odd.
And here – http://geodev.capechamber.auric-consulting.com/add-listing/?listing_type=gd_company
Any ideas? With your help, I’m close to what I want. Username/password are in the next private message.August 25, 2016 at 7:28 am #253100This reply has been marked as private.August 25, 2016 at 4:27 pm #253303I don’t think that can be solved with css. Probably there is a js conflict.
I asked to the developers to check and let us know how to fix it.
Thanks
August 25, 2016 at 4:48 pm #253306Hi Graham,
That theme is using something called jQuery selectbox, which seems to have stopped development and i cant find any docs for it, we use jQuery chosen select which does the same thing so thats why you are seeing double, there is not a easy solution if u want to keep using selectbox, or i can try disabling it compleatly?
Stiofan
August 25, 2016 at 4:54 pm #253307Hi Siofan, please try what you think might work. It’s a theme thing so I have no preference provided things work. Graham
August 25, 2016 at 5:15 pm #253311I dont have access tot he file via the theme editor, but if you can try editing this line on this file:
http://geodev.capechamber.auric-consulting.com/wp-content/themes/directory2/design/js/script.js?ver=4.6
initSelectBox();
change to:
//initSelectBox();Stiofan
August 26, 2016 at 11:42 am #253773That seems to have solved that problem, thanks. Now only one problem to resolve – http://geodev.capechamber.auric-consulting.com/add-listing/?listing_type=gd_company. The drop down lists aren’t showing properly. Any ideas?
August 26, 2016 at 5:02 pm #253952Hi,
that is cause by csss from the theme.
Please add this css to GeoDirectory >> Design >> Scripts >> Custom CSS
#propertyform .geodir_form_row { overflow: visible; }
Thanks
August 29, 2016 at 9:07 am #255206Cool, 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(); -
AuthorPosts
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket