The logo field goes into the slider and looks horrible.

This topic contains 10 replies, has 3 voices, and was last updated by  Kathy Long 9 months, 1 week ago.

Tagged: , ,

  • Author
    Posts
  • #540488
    #540504

    Alex Rollin
    Moderator
    Post count: 27815

    Yes, edit the GD details template. Create a new GD Post Images shortcode that has the options you want like type=’post_images’

    #540518

    Kathy Long
    Full Member
    Post count: 71

    Alex, can you tell me how to do that? None of my custom fields or the logo field (which is not custom) shows up in the drop down menu in the short code creator. If there are directions somewhere for that, can you send me a link. I can’t seem to find anything.

    Also, sounds like what you describe will help me to get the field to the details page, but how do you get the logo out of the slider?

    thanks.

    #540589

    Alex Rollin
    Moderator
    Post count: 27815
    #540819

    Kathy Long
    Full Member
    Post count: 71

    Alex, it’s all making sense to me now! Still have some problems.
    I got the logo out of the slider with this:

    [gd_post_images type=’slider’ ajax_load=’true’ slideshow=’true’ show_title=’true’ animation=’slide’ controlnav=’1′ types=”post_images” fallback_types=”0″]

    I added fallback_types=0 to keep my fallback default image from populating the slider.

    The problem I’m having now is with the sizing of the logo. I tried various different settings and had no success. You can see the HUGE logo at the bottom. https://supportyourtown.online/places/united-states/california/san-jose/services/kat-mouse/

    Here’s my code:

    [gd_post_images type=”image” ajax_load=”1″ show_title=”0″  types=”logo” fallback_types=”0″ image_size=”thumbnail” cover=”n”]

    SO HOW DO I GET THAT LOGO NOT TO RESIZE? I tried other options beside thumbnail.

    BTW, there is a bug. Even though I select “single_image” it still puts slideshow, animation, control and whatever other attributes that usually go with the slideshow. I deleted all that but it makes me think that maybe it’s missing the attribute that should show up when you choose single image. Or not.

    #540824

    Kor
    Moderator
    Post count: 16516

    Hi Kathy,

    Thanks for your reply. You can use the custom CSS code below to resize it.

    ul.geodir-post-image.geodir-images {
        max-width: 200px;
        margin: 0 auto!important;
    }
    #540950

    Kathy Long
    Full Member
    Post count: 71

    Thanks. Will do.

    #540953

    Kathy Long
    Full Member
    Post count: 71

    Just when I get the details page worked out the archive page gets messed up because of the logo. Instead of the fallback image that was there, then it put the logo there and again it’s the wrong shape and size for that.

    So I put this in the code: [gd_post_images type=’image’ ajax_load=’true’ link_to=’post’ types=’post_images’ fallback_types=’listing_default’]

    And it’s all good now!

    Here’s a recommendation for you. NO LOGO should be pulled into any image situation whatsoever, other than just as a logo, because they will always be smaller and different aspect ratio. I recommend you fix this in your code so no one has to deal with this.

    #540961

    Kathy Long
    Full Member
    Post count: 71

    Just want to point out that whatever I did for the details page to get that logo out of the slider, then affected the details on the archive page which seems impossible. It required adding the fallback image attribute to fix it when it didn’t need that before.

    You don’t need to explain that unless you think other readers need to know. I’m saying this here in case others are having issues as well.

    Thanks.

    #541091

    Kor
    Moderator
    Post count: 16516

    Hi Kathy Long,

    Thanks for your reply. Could you replicate the issue and share the URL of the page in question here so that I could check on it?

    #541472

    Kathy Long
    Full Member
    Post count: 71

    Hi Kor, There is actually no problem now. I’m just mentioned what happened and my solution in case others run into the same problem.

    All is good now! You can mark this closed. Thanks.

Viewing 11 posts - 1 through 11 (of 11 total)

The topic ‘The logo field goes into the slider and looks horrible.’ is closed to new replies, this may be for inactivity, please open a new topic if you have a similar question.