Page header picture stretches in X direction only.

Home Forums All Other Themes Page header picture stretches in X direction only.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #129648
    marcel.wezenbergmarcel.wezenberg
    Participant
    • Topics: 8
    • Replies: 17
    • Total: 25
    Member since: March 8, 2019

    Hello,

    I’m using a header picture. Now if you resize your browser window size, this picture is stretched in X-direction.
    At certain moment, probably at a specific width, the picture is cropped in Y-direction and it looks fine again.

    The problem is the stretch X-direction, especially if you’ve a header picture with people, at a certain moment they look out of proportion.

    My frontpage slider stretches in both X and Y direction then proportions stay fine.
    Is this behave possible for a page header picture as well. When you resize the browser window keep the aspect ratio constant.

    (Sportsman Pro theme)
    site: http://www.ijgv.nl/test2/jazzdans

    Kind regards,
    Marcel

    #129671
    Sonl SinhaSonl Sinha
    Moderator
    • Topics: 0
    • Replies: 31029
    • Total: 31029
    Member since: August 16, 2013

    Hi,

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

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

    Regards,
    Chris

    #129716
    marcel.wezenbergmarcel.wezenberg
    Participant
    • Topics: 8
    • Replies: 17
    • Total: 25
    Member since: March 8, 2019

    Hello Chris,

    Thanks for the CSS code, it looks much better now.

    Kind regards,
    Marcel

    #129731
    Sonl SinhaSonl Sinha
    Moderator
    • Topics: 0
    • Replies: 31029
    • Total: 31029
    Member since: August 16, 2013

    Hi Marcel,

    If you found our service good kindly review us here: https://www.sktthemes.org/forums/topic/reviews-and-testimonials/page/23/

    Regards,
    Chris

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