digitalcraftsman / hugo-strata-theme

Port of HTML5UP's Strata theme to Hugo
Other
143 stars 92 forks source link

Blank space below background image #29

Open gschaffner opened 7 years ago

gschaffner commented 7 years ago

When a user scrolls up, the background image moves up as well. But the space below it is blank and gray. Is it possible to make the background take up this entire space, being scaled so that the user will never see this gray space? Thanks!

sicilyart commented 7 years ago

The bottom of background in the original theme blends with the background color. You could adjust your background color accordingly or disable the parallax effect.

skica-dev commented 6 years ago

@sicilyart where can I change the background color?

protopapa commented 6 years ago

In order to remove the gray space I disabled the parallax effect as it is suggested. In the hugo-strata-theme/static/js/main.js change the below code from true to false.

var settings = { // Parallax background effect? parallax: true, // Parallax factor (lower = more intense, higher = less intense). parallaxFactor: 20 };

Programazing commented 5 years ago

@gschaffner @sicilyart @m4k5 @protopapa

I've forked this repo and started working on updating it if you're interested in an actively developed theme:

https://github.com/Programazing/hugo-strata-theme-II