Skip to content

Commit 2ec8b5b

Browse files
committed
Reintroduced parralax with fixed background attachment
1 parent c4faf30 commit 2ec8b5b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

_layouts/post.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
background-image: url('{% if page.image contains '://' %}{{ page.image }}{% elsif site.featured-image-source %}{{ site.featured-image-source | append: page.image | absolute_url }}{% else %}{{ '/assets/images/' | append: page.image | absolute_url }}{% endif %}');
2626
background-size: cover;
2727
background-position: center;
28+
background-attachment: fixed;
2829
filter: brightness({{ page.image_brightness | default: 0.5 }});
2930
z-index: 0;">
3031
</div>

0 commit comments

Comments
 (0)