Grid Display problem
This topic contains 20 replies, has 4 voices, and was last updated by Giri 8 years, 5 months ago.
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket-
AuthorPosts
-
June 6, 2017 at 1:12 pm #381913
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
June 6, 2017 at 2:26 pm #381936Hi 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.
June 6, 2017 at 2:43 pm #381937This reply has been marked as private.June 6, 2017 at 5:16 pm #381959Please 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
June 7, 2017 at 3:02 pm #382117Hi,
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,
CoraJune 7, 2017 at 3:19 pm #382120A developers will follow up with you asap.
Thanks for your patience,
June 8, 2017 at 12:49 pm #382303.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); }June 8, 2017 at 12:54 pm #382307Hi Giri,
I tried what you proposed in you last and previous post, but it is not ok …
BR, CoraJune 8, 2017 at 12:57 pm #382309Try 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; }June 8, 2017 at 1:04 pm #382312not better 🙁
June 8, 2017 at 1:12 pm #382316Thats 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
June 8, 2017 at 1:18 pm #382318That’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, CoraJune 8, 2017 at 1:37 pm #382336Check here.
You need to translate those strings
June 8, 2017 at 3:18 pm #382352Ok 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, CoraJune 9, 2017 at 9:50 am #382437Yes 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
-
AuthorPosts
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket