From 3ce59d8229c1ec56502325c926f953566096133a Mon Sep 17 00:00:00 2001 From: "Eduardo M." Date: Sun, 11 Aug 2024 16:06:02 +0100 Subject: [PATCH] Update style.css --- style.css | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/style.css b/style.css index 01a18a8..ae9ebd1 100644 --- a/style.css +++ b/style.css @@ -64,13 +64,14 @@ body { /* Header */ .header { - width: 10%; - height: 50vh; - position: relative; - background-image: url('img/custom-banner.png'); - background-size: contain; - background-position: center; - overflow: hidden; + width: 100%; /* Full width */ + height: 30vh; /* Adjust height to your preference */ + position: relative; /* Position relative to the document */ + background-image: url('img/custom-banner.png'); /* Image as background */ + background-size: contain; /* Ensure the entire image fits within the header */ + background-position: center; /* Center the image */ + background-repeat: no-repeat; /* Prevent the image from repeating */ + overflow: hidden; /* Prevent overflow */ } .circle {