From 4b76760f7222d9a2239831b499f046b2c35b4628 Mon Sep 17 00:00:00 2001 From: Gary Date: Tue, 13 May 2025 16:26:29 +0100 Subject: [PATCH] trying to fix logo issue --- css/style.css | 31 ++++++++++++++++++++++++++++--- includes/index-hero.php | 2 +- 2 files changed, 29 insertions(+), 4 deletions(-) diff --git a/css/style.css b/css/style.css index dd749f4..2a33410 100644 --- a/css/style.css +++ b/css/style.css @@ -8323,7 +8323,7 @@ h1, h2, h3, h4, h5, height: 700px; position: relative; z-index: 0; - overflow: d; } + overflow: hidden; } .owl-carousel.home-slider .slider-item .overlay { position: absolute; top: 0; @@ -8341,7 +8341,7 @@ h1, h2, h3, h4, h5, height: 700px; position: relative; } .owl-carousel.home-slider .slider-item .slider-text .text { - z-index: 2; + z-index: 1; color: rgba(255, 255, 255, 0.9); } .owl-carousel.home-slider .slider-item .slider-text h1 { font-size: 60px; @@ -9782,7 +9782,7 @@ textarea.form-control { .banner-logo { - display: flex; + position: relative; justify-content: center; align-items: center; padding-bottom: 0; @@ -9820,3 +9820,28 @@ textarea.form-control { max-width: 250px; height: 250px; } + +.overlay { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + background-color: rgba(0, 0, 0, 0.5); /* Example overlay style */ + z-index: 1; /* Ensure the overlay has a z-index */ +} + +.banner-logo { + position: relative; /* Or absolute/fixed, but needs to be positioned */ + z-index: 2; /* Make sure the logo's container has a higher z-index */ +} + +.banner-logo a { + display: block; /* Or inline-block, to ensure the link itself can be positioned if needed */ +} + +.banner-logo img { + /* You might need to ensure the image itself respects the z-index */ + position: relative; /* Or absolute/fixed */ + z-index: 3; /* Give the image an even higher z-index */ +} diff --git a/includes/index-hero.php b/includes/index-hero.php index 8ebcd1c..c4d5836 100644 --- a/includes/index-hero.php +++ b/includes/index-hero.php @@ -6,7 +6,7 @@