Skip to content

Issues after auto-update - WebAppManifest and Hero background image size #1951

Answered by chrede88
tvercaut asked this question in Q&A
Discussion options

You must be logged in to vote

Looking at line 51 in the widget_page.html file (link: https://github.com/wowchemy/wowchemy-hugo-modules/blob/master/wowchemy/layouts/partials/widget_page.html#L51), that controls the background properties of the home page or other widget pages, it's clear that the image size is set by the background-size parameter. Now referring to this page (https://www.w3schools.com/csSref/css3_pr_background-size.asp), the default value of background-size is auto, which translates to actual in wowchemy. So it seems that the default value is not cover!

I'm not using the hero widget myself, but the hero.html widget partial is referring to a hero-media. Maybe it's better to that, instead of the background…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@chrede88
Comment options

Answer selected by tvercaut
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants