Custom field image size
This topic contains 14 replies, has 3 voices, and was last updated by Paolo 9 years, 6 months ago.
We have moved to a support ticketing system and our forums are now closed.
Open Support TicketTagged: custom field
-
AuthorPosts
-
May 30, 2016 at 5:10 am #200061
Hi there,
I’m setting up my directory with much success, however have come across an issue I haven’t been able to solve using past forum posts. I have followed the guide at https://wpgeodirectory.com/docs/custom-field-examples/ , however my images are tiny & cropped. They also display the word Yes (as in Yes it has been checked). Is this an issue with Supreme or something else?
Thanks in advance for the help.
May 30, 2016 at 5:31 am #200065Hi Ulick Baumann,
Do you mind sharing the URL of the site in question so we can take a look? You can use the private reply option below.
Thanks!
May 30, 2016 at 6:24 am #200073This reply has been marked as private.May 30, 2016 at 6:52 am #200107Hi Ulick Baumann,
I believe that’s how it is designed, I’d like you to check out our “Supreme Directory” demo theme and you should see the similar gallery images on the sidebar. http://wpgeo.directory/supreme-directory/places/united-states/new-york/new-york/hotels/maya-inn/ . If you wish to increase the gallery sizes, I believe that would require customizing the theme files.
May 30, 2016 at 7:25 am #200108This reply has been marked as private.May 30, 2016 at 7:55 am #200110Hi Ulick Baumann,
I apologize for not paying much attention here. Could you please apply the custom CSS below into GD > Design > Scripts > Custom Style CSS and see if it’s what you desired? Let us know how it goes.
span.geodir-i-checkbox { background-size: 30px 30px!important; padding-left: 35px!important; padding-top: 30px; padding-bottom: 30px; }Thanks!
May 30, 2016 at 10:10 am #200185Hi Kor,
No problem. Thanks again for that, it has increased the size of the icons, however they are overlapping a bit.
My other issue was the ‘Yes’ wording. Can I stop that from displaying?
Regards
Ulick
May 30, 2016 at 6:23 pm #200474there is no way to hide that text, but you can make it white and hide it that way with css:
You can do tghat by adding this to GeoDirectory >> Design >> Scripts >> Custom CSS:
.geodir_wsh, .geodir_yc, .geodir_ewp { color: #fff; } .geodir-i-checkbox { color: #777; }Thanks
May 30, 2016 at 6:24 pm #200475Just FYI, doing so will make them show identical no matter if they click yes or no…
Not sure it is a good solution
May 30, 2016 at 9:51 pm #200587Hi Paolo,
That should be ok because the icons don’t show on listings that are not checked.
Thanks again
May 30, 2016 at 9:59 pm #200589It works but doesn’t look great because of the : after the name. I’ll have to think of another solution. Is this just the Supreme theme that does this?
May 31, 2016 at 8:40 am #200695Thanks again.
I got the image size sorted. I was using the wrong files, so my mistake.
May 31, 2016 at 3:17 pm #200950For the custom field thing, it’s not supreme, it’s the plugin itself.
Thanks
May 31, 2016 at 8:30 pm #201343Hi Paolo
Thanks for that. I’m wondering though why it needs to show the word Yes when, by checking the box, it displays the icon or image. Its an unnecessary double positive.
June 1, 2016 at 3:29 pm #201867Hi,
that is because checkbox can accept more than 1 value, for example Yes or No.
In that case it would echo whatever value one selected.
Thanks
-
AuthorPosts
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket