New Landing How can we help? Cardinal Image too big for small screen in portfolio

Viewing 6 posts - 1 through 6 (of 6 total)
  • Posted in: Cardinal
  • #290106
    Claire01
    Member
    Post count: 9

    Hye,
    First thank you for your theme.
    I only have a problem I can’t solve. I would like that my portfolio images were responsive because I can’t see the entire image on small screen. The perfect thing would be that the image in Portfolio could change of size like the ones in the Gallery.
    Thank you very much for your help.
    Claire

    Attachments:
    You must be logged in to view attached files.
    #290186
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi

    Try adding this to your custom css:

    .single-portfolio .spb_image img {
      height: calc(100vh - 250px);
      width: auto;
      margin-left: auto;
      margin-right: auto;
    }

    – Kyle

    #290202
    Claire01
    Member
    Post count: 9

    Hye Kyle,

    Thank you.
    Its almost work but I can twist the image in lenght.
    How can I fix that ?

    Attachments:
    You must be logged in to view attached files.
    #290204
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Sorry, change the css to:

    .single-portfolio .spb_image img {
      max-height: calc(100vh - 250px);
      width: auto;
      margin-left: auto;
      margin-right: auto;
    }

    – Kyle

    #290205
    Claire01
    Member
    Post count: 9

    Yes, It’s work perfectly.
    Thank you very much !

    #290206
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Great! No problem

    – Kyle

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