Grid Display problem

This topic contains 20 replies, has 4 voices, and was last updated by  Giri 8 years ago.

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

Open Support Ticket
  • Author
    Posts
  • #381913

    cora thieul
    Free User
    Post count: 36

    Hi,

    When Grid Display is selected with 3 items on a line, only 2 are displaied as 2 Grid view was selected ?

    I checked the configuration in GD>Design>Listing tab but also set to 3 items …

    Is there any other configuration somewhere to get 3 items displaied on 1 line ?

    Find attached 2 screenshots.

    Thanks for your help and BR,

    Cora

    #381936

    Kor
    Moderator
    Post count: 16516

    Hi Cora,

    Please share WP temp admin access to your site so we can take a better look. You can post the details here using the private reply option below. Also, share the URL of grids so that I could inspect the page directly.

    #381937

    cora thieul
    Free User
    Post count: 36
    This reply has been marked as private.
    #381959

    Paolo
    Site Admin
    Post count: 31211

    Please try to add this in GeoDirectory >> Design >> Scripts >> Custom CSS:

    
    
    .geodir_category_list_view li.gridview_onethird {
        margin: 0 14px 0 0;
    }

    Let us know how it goes,

    Thanks

    #382117

    cora thieul
    Free User
    Post count: 36

    Hi,
    It is OK now for grid 3 but still not OK for grid 4 and 5. I quickly try with the following :
    .geodir_category_list_view li.gridview_onefifth {
    margin: 0 14px 0 0;
    }
    but no success …
    BR,
    Cora

    #382120

    Paolo
    Site Admin
    Post count: 31211

    A developers will follow up with you asap.

    Thanks for your patience,

    #382303

    Giri
    Expired Member
    Post count: 3155
    
    
    .sd .geodir_category_list_view li.gridview_onefourth {
        margin: 0 12px 0 0;
        width: calc(25% - 12px);
    }
    .sd .geodir_category_list_view li.gridview_onefifth {
        margin: 0 11px 0 0;
        width: calc(20% - 12px);
    }
    #382307

    cora thieul
    Free User
    Post count: 36

    Hi Giri,
    I tried what you proposed in you last and previous post, but it is not ok …
    BR, Cora

    #382309

    Giri
    Expired Member
    Post count: 3155

    Try adding important tag

    
    
    .sd .geodir_category_list_view li.gridview_onefourth {
        margin: 0 12px 0 0 !important;
    }
    .sd .geodir_category_list_view li.gridview_onefifth {
        margin: 0 11px 0 0 !important;
    }
    #382312

    cora thieul
    Free User
    Post count: 36

    not better 🙁

    #382316

    Giri
    Expired Member
    Post count: 3155

    Thats weird. It worked while using inspect element

    Can you try this one code instead?

    
    
    .sd .geodir_category_list_view li.gridview_onefourth {
        margin: 0 9px 0 0 !important;
    }
    .sd .geodir_category_list_view li.gridview_onefifth {
        margin: 0 8px 0 0 !important;
    }

    Thanks

    #382318

    cora thieul
    Free User
    Post count: 36

    That’s perfect now ! thanks for supporting !
    Could you also tell me where to change the translation for Grid and View ?
    Very BR for your availability, Cora

    #382336

    Giri
    Expired Member
    Post count: 3155
    #382352

    cora thieul
    Free User
    Post count: 36

    Ok thanks I tried to translate on the git but maybe it is not so good … I updated the file -en-US.po but maybe it is needed to create à -en-FR.po file … well anyway this is another topic …
    BR, Cora

    #382437

    Giri
    Expired Member
    Post count: 3155

    Yes Cora, you need to make a copy of -en-US.po with name -en-FR.po You need to add your translation strings in -en-FR.po file.

    You need to do this in your computer and upload it to your server. Not in github.

    Thanks

Viewing 15 posts - 1 through 15 (of 21 total)

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

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount