Image zoom vs cut in Twenty Seventeen header image

I am using the Twenty Seventeen theme and am trying to control the behavior of the header imagemedia for different scre

I am using the Twenty Seventeen theme and am trying to control the behavior of the header image/media for different screen resolutions/sizes.

The standard seems to be just cutting the picture and changing the proportions when changing to lower resolutions screen. Instead I would like it to "zoom", keeping the same proportions as for the full screen layout. This already seems to be the standard for the panel images.

I played with a bunch of css settings, but just can't seem to find the right one...

Thanks for your help!

I am using the Twenty Seventeen theme and am trying to control the behavior of the header image/media for different screen resolutions/sizes.

The standard seems to be just cutting the picture and changing the proportions when changing to lower resolutions screen. Instead I would like it to "zoom", keeping the same proportions as for the full screen layout. This already seems to be the standard for the panel images.

I played with a bunch of css settings, but just can't seem to find the right one...

Thanks for your help!

Share Improve this question asked Mar 27, 2018 at 3:14 Benjamin BSBenjamin BS 1
Add a comment  | 

1 Answer 1

Reset to default 0

you can use this javascript library imagefill
demo here 2nd section "Новости"

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745261742a4619240.html

相关推荐

  • Image zoom vs cut in Twenty Seventeen header image

    I am using the Twenty Seventeen theme and am trying to control the behavior of the header imagemedia for different scre

    3小时前
    10

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信