Company Logo Sizing Off

This topic contains 6 replies, has 2 voices, and was last updated by  Alex Rollin 4 years ago.

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

Open Support Ticket
  • Author
    Posts
  • #537489
    #537512

    Alex Rollin
    Moderator
    Post count: 27815

    Hello,

    GD Post Images will ‘expand’ to fill the available space.

    Overriding that will require your own CSS.

    Here is something to help you get started:

    
    
    
    .geodir-post-slider {
        max-width: 1000px!important;
        margin: 0 auto!important;
    }
    

    We also have hundreds of examples in our docs:
    https://wpgeodirectory.com/docs-v2/geodirectory/getting-started/

    #537680

    gnhinc
    Full Member
    Post count: 32

    TY…That CSS worked for its overall size but the logo is still being cropped(see attachment)

    What can I add to stop this cropping from happening? Looked through the docs couldn’t find anything on this

    #537684

    Alex Rollin
    Moderator
    Post count: 27815

    Ah, adjust the GD Post Images. Tat means make a new shortcode that has the image as ‘contain’ instead of ‘cover’.

    
    
    
    [gd_post_images type="slider" ajax_load="1" slideshow="1" show_title="1" animation="slide" controlnav="1" cover="n"]
    
    
    #537709

    gnhinc
    Full Member
    Post count: 32

    I tired what you said and doesn’t appear to do anything

    I have on ‘GD Archive Item’ page
    [gd_post_images type=’image’ ajax_load=’true’ link_to=’post’ show_logo=’true’ contain=”n”]

    & on ‘GD Details’ page
    [gd_post_images type=”image” ajax_load=”1″ slideshow=”1″ show_title=”1″ animation=”slide” controlnav=”1″ types=”logo” image_size=”medium” contain=”n”]

    What do I need to change?

    #537710

    gnhinc
    Full Member
    Post count: 32

    Also I’ve tried contain=”y” & cover with both =”y” and =”n” …with same results

    #537726

    Alex Rollin
    Moderator
    Post count: 27815

    Try just copying the shortcode I used above.

    Shortcodes need to be created with the shortcode builder.

    https://wpgeodirectory.com/docs-v2/geodirectory/shortcode-builder/

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

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

Open Support Ticket