diff --git a/wiki/pages/tryhomepage.html b/wiki/pages/tryhomepage.html index e48aecc0746ed07d42e322ff85cfdbea6faaaf7d..a656fd37afce19b53ac38f9528c165b140509e3f 100644 --- a/wiki/pages/tryhomepage.html +++ b/wiki/pages/tryhomepage.html @@ -43,6 +43,11 @@ height: 100vh; transition: 1s; background-image: url("https://static.igem.wiki/teams/5187/home-bg-3.jpg"); + background-size: cover; /* Makes the image cover the entire area */ + background-repeat: no-repeat; /* Prevents the image from repeating */ + background-position: center; /* Centers the image */ + height: 100vh; /* Ensures the body takes up the full height of the viewport */ + margin: 0; /* Removes default margin */ } .logo-header{