Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

klixup

<html>

<php

/*
 * Plugin Name: KlixUp
 * Description: Attract. Engage. Convert. KlixUp do digital.
 * Version: 1.0
 * Author: SamHam
 */
 
<head>
<style>
body {
    margin: 0;
    font-family: Arial, sans-serif;
}

.banner {
    width: 90%;
    height: 50px;
    background-color: #b9ff54;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    box-sizing: border-box;
    position: relative; /* Added for positioning */
}

.left-side {
    display: flex;
    align-items: center;
}

.logo {
    height: 45px;
    margin-right: 5px;
}

.promotion-text {
    font-size: 8px;
    color: #333;
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    width: 100%;
}

.banner-buttons {
    display: flex;
    align-items: center;
}

.cta-button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 7px 8px;
    margin-right: 5px;
    cursor: pointer;
    border-radius: 4px;
}

.cta-button:hover {
    background-color: #0056b3;
}

.close-button {
    background: none;
    border: none;
    font-size: 16px;
    cursor: pointer;
    color: #333;
}


</style>
</head>
<body>
<script>
function closeBanner() {
    document.querySelector('.banner').style.display = 'none';
}

</script>

<div class="banner">
        <div class="left-side">
            <img src="https://www.klixup.agency/wp-content/uploads/2024/02/KlixUp-logo-1.png" alt="Logo" class="logo">
        </div><p style="font-size:12px">Level up your marketing game with KlixUp!</p>
        <div class="banner-buttons">
            <button class="cta-button">Join Us!</button>
            <button class="close-button" onclick="closeBanner()">&times</button>
        </div>
        <div class="promotion-text">Paid Promotion</div>
    </div>


</body>
</html>