hugo-strata-theme icon indicating copy to clipboard operation
hugo-strata-theme copied to clipboard

Blank space below background image

Open gschaffner opened this issue 7 years ago • 4 comments

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!

gschaffner avatar Mar 25 '17 01:03 gschaffner

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.

sicilyart avatar Nov 06 '17 12:11 sicilyart

@sicilyart where can I change the background color?

skica-dev avatar Mar 23 '18 15:03 skica-dev

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 };

protopapa avatar Aug 08 '18 16:08 protopapa

@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

Programazing avatar Nov 05 '19 18:11 Programazing