Custom field image size

This topic contains 14 replies, has 3 voices, and was last updated by  Paolo 8 years, 5 months ago.

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

Open Support Ticket

Tagged: 

  • Author
    Posts
  • #200061

    Ulick
    Expired Member
    Post count: 39

    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.

    #200065

    Kor
    Moderator
    Post count: 16516

    Hi 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!

    #200073

    Ulick
    Expired Member
    Post count: 39
    This reply has been marked as private.
    #200107

    Kor
    Moderator
    Post count: 16516

    Hi 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.

    #200108

    Ulick
    Expired Member
    Post count: 39
    This reply has been marked as private.
    #200110

    Kor
    Moderator
    Post count: 16516

    Hi 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!

    #200185

    Ulick
    Expired Member
    Post count: 39

    Hi 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

    #200474

    Paolo
    Site Admin
    Post count: 31206

    there 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

    #200475

    Paolo
    Site Admin
    Post count: 31206

    Just FYI, doing so will make them show identical no matter if they click yes or no…

    Not sure it is a good solution

    #200587

    Ulick
    Expired Member
    Post count: 39

    Hi Paolo,

    That should be ok because the icons don’t show on listings that are not checked.

    Thanks again

    #200589

    Ulick
    Expired Member
    Post count: 39

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

    #200695

    Ulick
    Expired Member
    Post count: 39

    Thanks again.

    I got the image size sorted. I was using the wrong files, so my mistake.

    #200950

    Paolo
    Site Admin
    Post count: 31206

    For the custom field thing, it’s not supreme, it’s the plugin itself.

    Thanks

    #201343

    Ulick
    Expired Member
    Post count: 39

    Hi 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.

    #201867

    Paolo
    Site Admin
    Post count: 31206

    Hi,

    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

Viewing 15 posts - 1 through 15 (of 15 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