Skip to content

Commit eabf3e7

Browse files
authored
Merge pull request wesbos#555 from hamnaraeel/master
sticky nav starting offset point issue on multiple screens is fixed by the height in px.
2 parents 1dd693f + 10388a5 commit eabf3e7

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

24 - Sticky Nav/style-FINISHED.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ body.fixed-nav .site-wrap {
3131

3232
header {
3333
text-align: center;
34-
height: 50vh;
34+
height: 500px;
3535
background: url(https://source.unsplash.com/GKN6rpDr0EI/960x640) bottom center no-repeat;
3636
background-size: cover;
3737
display: flex;

24 - Sticky Nav/style-START.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ body {
2727

2828
header {
2929
text-align: center;
30-
height: 50vh;
30+
height: 500px;
3131
background: url(https://source.unsplash.com/GKN6rpDr0EI/960x640) bottom center no-repeat;
3232
background-size: cover;
3333
display: flex;

0 commit comments

Comments
 (0)