Top Bar – Valentine’s Day

<div class="ifso-pt-1">
  <div class="ifso-pt-1-container-text">
    <stong class="ifso-pt-6-title">Valentine's Day Sale</stong>
    <p class="ifso-pt-6-text">48 hours only</p>
  </div>
  <div class="ifso-pt-6-container-buttons">
    <a href="#" target="_blank" class="ifso-pt-6-btn-1">LEARN MORE</a>
    <button class="ifso-pt-6-btn-2"
      onclick="document.querySelector('.ifso-pt-1').style.display = 'none';"
    >CLOSE</button>
  </div>
</div>

<style>
  .ifso-pt-1 {
    background-color: #e02632;
    text-align: center;
    padding: 20px 5px;
  }

  .ifso-pt-1 * {
    margin: 0;
    font-size: 26px;
    font-family: sans-serif;
    color: white;
    display: inline-block;
  }

  .ifso-pt-6-title {
    margin-right: 10px;
  }
  .ifso-pt-6-text {
    margin-right: 20px;
  }

  .ifso-pt-6-container-buttons {
    margin-top: 5px;
  }

  .ifso-pt-6-btn-1,.ifso-pt-6-btn-2 {
    color: white;
    font-size: 16px;
    font-weight: bold;
    border-radius: 14px;
  }
  .ifso-pt-6-btn-1 {
    background-color: #c10713;
    padding: 8px 25px 6px 25px;
    margin-right: 8px;
    text-decoration: none;
  }
  .ifso-pt-6-btn-2 {
    background-color: #e2888d;
    padding: 8px 30px 6px 30px;
    border: none;
    cursor: pointer;
  }

  @media (max-width: 400px) {
    .ifso-pt-1 {
      padding: 15px 0px;
    }
    .ifso-pt-1 * {
      font-size: 14px;
    }
    .ifso-pt-6-btn-1,.ifso-pt-6-btn-2 {
      padding: 8px 20px 6px 20px;
      font-size: 10px;
    }
  }
</style>
Use it on your site
Valentine's Day Sale

48 hours only

LEARN MORE
PREVIEW EXPORT TRIGGER

Categories

Content Type, Desktop, Holidays, Top-Bars