Compatibility problem

This topic contains 8 replies, has 3 voices, and was last updated by  Graham Watkins 7 years, 8 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #253099

    Graham Watkins
    Expired Member
    Post count: 18

    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.

    #253100

    Graham Watkins
    Expired Member
    Post count: 18
    This reply has been marked as private.
    #253303

    Paolo
    Site Admin
    Post count: 31206

    I 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

    #253306

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Hi 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

    #253307

    Graham Watkins
    Expired Member
    Post count: 18

    Hi Siofan, please try what you think might work. It’s a theme thing so I have no preference provided things work. Graham

    #253311

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    I 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

    #253773

    Graham Watkins
    Expired Member
    Post count: 18

    That 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?

    #253952

    Paolo
    Site Admin
    Post count: 31206

    Hi,

    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

    #255206

    Graham Watkins
    Expired Member
    Post count: 18

    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();

Viewing 9 posts - 1 through 9 (of 9 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket