New Landing How can we help? Cardinal Gallery Image Size

Viewing 12 posts - 1 through 12 (of 12 total)
  • Posted in: Cardinal
  • #117253
    Mirapix
    Member
    Post count: 14

    Hello, I have a Problem with the Image Size in the Gallery. Is it possible to set the hight of the Gallery so that the images adjust to that? Right now a portrait size fills the entire with of the page and the thumbnails navigation is all the way at the bottom of the Page even if a landscape size image is shown. I hope you can see what I mean.

    Mira

    #117459
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi

    Try this:

    .flexslider .slides li img {
      max-height: 592px;
      width: auto;
      margin: 0 auto;
    }

    – Kyle

    #117548
    Mirapix
    Member
    Post count: 14

    Great! Thank you!
    Is there also a way to fix it for tablet/mobile?

    #117552
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Sure.

    Do you need specif size images for mobile and a specific for Tablet? Or it can be the same size to mobile/tablet?

    -Rui

    #117822
    Mirapix
    Member
    Post count: 14

    They should be different sizes. That would be great!

    #117837
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    With the code I provided above, you need to put it in a media query:

    @media only screen and (min-width: 769px) { 
    .flexslider .slides li img {
      max-height: 592px;
      width: auto;
      margin: 0 auto;
    }
    }

    – Kyle

    #118508
    Mirapix
    Member
    Post count: 14

    Perfect! Thanks for the quick support!

    #118509
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    No problem

    – Kyle

    #125974
    Mirapix
    Member
    Post count: 14
    This reply has been marked as private.
    #125978
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    I just tried logging in again and the log in doesn’t work? Your site is in maintenance so I can’t view the page

    – Kyle

    #126032
    Mirapix
    Member
    Post count: 14
    This reply has been marked as private.
    #126396
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Go to functions.php to line 80:

    add_image_size( 'full-width-image-gallery', 1280, 720, true );

    Either change the values or remove it

    – Kyle

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

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register