Happy 80th Independence Day 🇮🇳

Toggle

Toggle

Tags: Liquid Codes, Toggle · 12 Aug 2026

Page: Product Pages (Optimized for Conversions)

Snippet Code

<style>
  .product__accordion.accordion {
    border-bottom: none;
    width: 100%;
    box-sizing: border-box;
  }

  .product__accordion {
    margin-top: 40px;
  }

  .accordion {
    margin-bottom: 0;
  }

  .accordion summary {
    display: flex;
    position: relative;
    line-height: 1;
    padding: 20px 0;
    align-items: center;
    cursor: pointer;
    list-style: none;
    width: 100%;
    box-sizing: border-box;
  }

  summary::-webkit-details-marker {
    display: none;
  }

  .accordion .summary__title {
    display: flex;
    flex: 1;
    padding-right: 40px;
  }

  .product__accordion .accordion__title {
    font-weight: 700;
    line-height: 28px;
    color: #101010;
  }

  .accordion__title {
    display: inline-block;
    width: 100%;
    margin: 0;
    word-break: break-word;
    font-family: Nunito, sans-serif;
    font-style: normal;
    letter-spacing: normal;
  }

  .product__accordion summary .accordion__title-icon {
    background-color: transparent;
    display: inline-block;
    position: absolute;
    right: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
  }

  .product__accordion summary .accordion__title-icon:before {
    background-color: #101010;
    content: "";
    width: 12px;
    height: 2px;
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
  }

  .product__accordion summary .accordion__title-icon:after {
    background-color: #101010;
    content: "";
    width: 2px;
    height: 12px;
    position: absolute;
    top: 50%;
    right: 13px;
    transform: translateY(-50%);
    transition: all .3s ease;
  }

  details[open] .accordion__title-icon:after {
    opacity: 0;
    transform: translateY(-50%) rotate(90deg);
  }

  .product__accordion.under-product .accordion__content {
    gap: 125px;
    flex-direction: row;
  }

  .product__accordion .accordion__content {
    overflow: hidden;
    padding: 5px 0 20px;
    margin-bottom: 0;
    display: flex;
    justify-content: space-between;
    width: 100%;
    box-sizing: border-box;
    flex-wrap: wrap;
  }

  .accordion__content {
    word-break: break-word;
    font-family: Nunito, sans-serif;
  }

  .accordion__content div {
    width: 100%;
  }

  .rte ul {
    list-style-position: inside;
    padding-left: 20px;
    margin: 0;
  }

  .rte li {
    margin-bottom: 10px;
    line-height: 1.6;
    list-style: disc;
    font-size: 16px;
    color: #101010;
  }

  @media only screen and (min-width: 750px) {
    .accordion__title {
      font-size: 20px;
    }
  }

  @media screen and (max-width: 749px) {
    .product__accordion {
      margin-top: 20px;
    }

    .product__accordion.under-product .accordion__content {
      flex-direction: column;
      gap: 20px;
    }

    .accordion__title {
      font-size: 17px;
      line-height: 24px;
    }

    .accordion summary {
      padding: 16px 0;
    }

    .rte li {
      font-size: 14px;
      line-height: 1.5;
    }
  }
</style>

<div class="product__accordion accordion under-product quick-add-hidden">
  <details>
    <summary>
      <div class="summary__title">
        <h2 class="accordion__title inline-richtext h6">
          Description
        </h2>
      </div>
      <span class="accordion__title-icon"></span>
    </summary>

    <div class="accordion__content rte">
      <div>
        <ul>
          <li>{{ product.description }}</li>
        </ul>
      </div>
    </div>
  </details>
</div>

Instructions

Heyy Guys 👋
Watch the video below to learn how to Import these Codes into your Shopify Ecommerce Store!

Complete Video Tutorial: