Listings Detail Page
This topic contains 9 replies, has 2 voices, and was last updated by Kor 7 years, 10 months ago.
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket-
AuthorPosts
-
May 30, 2017 at 9:19 pm #380857
Hello,
What is the best size for the images in slider on Details page? I don’t want those white spaces above and on the left and right of the images https://www.autocarenetwork.co.uk/newdemo/places/united-kingdom/west-sussex/worthing/fast-fit/rapid-auto-center/. Can we also control its height as well?
Also in the right sidebar can we have the actual URL of the website instead of just the word “website” with a link?
One more thing, is there a way we can remove the “Favorites” box in the sidebar – second section as we go down top to bottom.
Thanks
May 31, 2017 at 4:13 am #380895Hi Caroline,
There isn’t fixed size for the slider, unfortunately. But you can use the custom CSS code below to force the image to fill the entire container. Insert into GD > Design > Scripts > Custom Style CSS.
.geodir_flexslider .geodir-slides img { object-fit: cover!important; width: 100%!important; }
Refer to this section of the documentation https://wpgeodirectory.com/docs/core-design/#detail to remove the “Favourite”
May 31, 2017 at 12:05 pm #380931Hi Kor,
That makes sense, thanks for helping and supplying that bit of CSS.
Can you pls help us with how to make the actual website URL visible instead of only the word “Website”?
Thanks
May 31, 2017 at 2:39 pm #380951Hi Caroline,
Thanks for your reply and I hope it helps. What do you mean by “how to make the actual website URL visible instead of only the word “Website”?” ? Could you probably show us some screenshots?
Thanks!
May 31, 2017 at 6:16 pm #381026Hi Kor,
You’re welcome.
If you take a look at the sidebar on this page https://www.autocarenetwork.co.uk/newdemo/places/united-kingdom/west-sussex/worthing/fast-fit/rapid-auto-center/ you will see the word “Website” which is a link. We want to show the full website URL here instead of only the word “Website”. I hope that makes sense.
Thanks
June 1, 2017 at 4:29 am #381073Hi Caroline,
To display the URL on the Website link. Please insert the PHP code below into the code snippet plugin
add_filter('geodir_custom_field_website_name', 'modify_geodir_custom_field_website_name', 10, 2); function modify_geodir_custom_field_website_name($title, $website) { if ($title == 'Website') { return $website; } return $title; }
June 1, 2017 at 8:47 pm #381197Hi Kor,
Thanks for giving that piece of code, we will try that.
One last thing, probably we are all set after that. On the listings detail page, we would like the “Book Now” form to aligned bottom to bottom with the map, but there is an issue: we have a “Services” and “Facilities” section in the sidebar above the form, the services section can have different number of services and the facilities section can either be present or absent for a particular listing – this affects the height of the sidebar and hence the alignment of the form under it against the map to the left of the form. For example, take a look at this page https://www.autocarenetwork.co.uk/newdemo/places/united-kingdom/west-sussex/worthing/fast-fit/rapid-auto-center/ where the form is aligned with the map. Now, take a look at this page https://www.autocarenetwork.co.uk/newdemo/places/united-kingdom/the-city-of-brighton-and-hove/brighton/dent-smart-repairs/brighton-tyres-and-exhausts/ where there is no “Facilities” section (ignore “Services” we will be adding those later to this page) and you can see the form under the sidebar is no longer aligned with the map on the left. Can you please suggest a solution for this?
Thanks in advance
June 2, 2017 at 12:37 pm #381280Hi Caroline,
I’ve taken a look at your Website and I know what you needed there. Could you try assigning a fixed height to the listing sidebar details using the custom CSS code below and see if it’s what you’re looking for?
.geodir-company_info.geodir-details-sidebar-listing-info { min-height: 600px!important; }
Thanks!
June 6, 2017 at 8:23 pm #381997Hi Kor, this has almost solved the issue. One more thing please and probably the last one on this page: can we have the “Address” and “Services” start on new lines as the “Features”? Please see attached screenshot. Thanks
June 7, 2017 at 5:13 pm #382141Hi Caroline,
Here you go. Let me know how it goes.
span.geodir-i-location { display: block!important; } span.geodir-i-text { display: block!important; }
-
AuthorPosts
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket