diff --git a/index.html b/index.html index 1f03367..d84f58b 100644 --- a/index.html +++ b/index.html @@ -227,27 +227,7 @@ } } - // Add text if it exists - if (bannerText) { - const textStyle = ` - margin: 0; - padding: 10px; - line-height: 1.6; - color: ${textColor}; - text-align: ${textAlign}; - font-size: ${fontSize}; - `; - - // Wrap text in link if URL is provided - const textElement = bannerLink - ? `${bannerText}` - : bannerText; - - content += ` - `; - } + // Text is already added in the previous conditions // Set the content and make banner visible bannerContent.innerHTML = content;