Background images streching

Home Forums SKT Full Width Forum Background images streching

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #133335
    Inês de Carvalho
    Participant
    • Topics: 4
    • Replies: 5
    • Total: 9
    Member since: June 14, 2019

    Hi,

    When I put an image anywhere, it gets streched on resizing the window.

    I would like the theme to “cut” the image instead of doing this.

    Can you help?

    Thanks
    https://meditacao.pt/
    Inês

    #133364
    Forum Moderator
    Participant
    • Topics: 0
    • Replies: 25811
    • Total: 25811
    Member since: August 16, 2013

    Hi,

    Can you send us the screenshot of your issues? Upload your screenshot on http://imgur.com/ and paste the share url here.

    Regards,
    Chris

    #133408
    Inês de Carvalho
    Participant
    • Topics: 4
    • Replies: 5
    • Total: 9
    Member since: June 14, 2019

    Hi,

    So, in small screens, and mobile, the image behaves how I want it to:

    View post on imgur.com


    It resizes the image maintaining its ratio, and letting its container crop it when it is not possible to fit the whole image.

    When on standard and big screens, it streches:

    View post on imgur.com


    Makes the image the height and width of the container, losing the original ratio.

    Can you help?

    You can see this happening on resizing the window on:
    https://meditacao.pt/cursos-meditacao-mindfulness/

    Thanks,
    Inês

    #133465
    Forum Moderator
    Participant
    • Topics: 0
    • Replies: 25811
    • Total: 25811
    Member since: August 16, 2013

    Hi,

    Kindly go to Appearance >> Customize >> Basic >> Scroll down to find Custom CSS and paste there:

    .page_head, .post_head { height:auto !important;}
    .page_head img, .post_head img { min-height:inherit !important; height:auto !important;}

    Regards,
    Chris

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.