Skip to content

Commit d106606

Browse files
authored
Update index.html
1 parent 9b8259c commit d106606

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

index.html

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -417,9 +417,10 @@
417417
background-attachment: scroll !important; /* Disable parallax on mobile for performance and compatibility */
418418
}
419419
#hero {
420-
background-size: contain; /* Show the whole image, might leave empty space */
421-
background-repeat: no-repeat; /* Prevent tiling */
422-
min-height: 60vh; /* Adjust height for mobile to better fit 'contain' */
420+
background-size: cover; /* Changed from contain to cover */
421+
background-position: center center; /* Ensure image is centered with cover */
422+
background-repeat: no-repeat;
423+
min-height: 80vh; /* Increased height for mobile */
423424
}
424425
}
425426
/* Styles for text blocks within panels */

0 commit comments

Comments
 (0)