{"title":"Louvered Pergolas","description":"\u003cmeta charset=\"UTF-8\"\u003e \n\u003cmeta content=\"width=device-width, initial-scale=1.0\" name=\"viewport\"\u003e\n\u003ctitle\u003eShow More and Read Less Text\u003c\/title\u003e\n\u003cstyle\u003e\n    .text-container {\n      max-width: 1500px;\n      margin: 20px;\n      font-size: 12px;\n      line-height: 1.6;\n    }\n    .text {\n      display: -webkit-box;\n      -webkit-line-clamp: 3; \/* Show only 3 lines *\/\n      -webkit-box-orient: vertical;\n      overflow: hidden;\n    }\n    .expanded {\n      -webkit-line-clamp: unset; \/* Remove line clamp when expanded *\/\n    }\n    .toggle-btn {\n      display: inline-block;\n      margin-top: 10px;\n      color: black;\n      font-size: 14px;\n      font-weight: bold; \/* Make the buttons bold *\/\n    }\n  \u003c\/style\u003e\n\u003cdiv class=\"text-container\"\u003e\n\u003cp class=\"text\" id=\"text\"\u003eThe louvered pergola is both modern in design and versatile, creating a whole new feel to your outdoor space. Adjustable louvered canopies allow you to customize the shade to your needs, enhancing comfort and style in any residential or commercial setting. Perfect for patios, gardens and outdoor living areas, the louvered roof offers a low-maintenance solution for enjoying the outdoors all year round.\u003c\/p\u003e\n\u003cspan class=\"toggle-btn\" id=\"showMoreBtn\" onclick=\"toggleText()\"\u003eShow more\u003c\/span\u003e \u003cspan class=\"toggle-btn\" id=\"readLessBtn\" style=\"display: none;\" onclick=\"toggleText()\"\u003eRead less\u003c\/span\u003e\n\u003c\/div\u003e\n\n\u003cscript\u003e\n  function toggleText() {\n    const text = document.getElementById('text');\n    const showMoreBtn = document.getElementById('showMoreBtn');\n    const readLessBtn = document.getElementById('readLessBtn');\n\n    \/\/ Toggle between showing more or less text\n    if (text.classList.contains('expanded')) {\n      text.classList.remove('expanded');\n      showMoreBtn.style.display = 'inline';\n      readLessBtn.style.display = 'none';\n    } else {\n      text.classList.add('expanded');\n      showMoreBtn.style.display = 'none';\n      readLessBtn.style.display = 'inline';\n    }\n  }\n\u003c\/script\u003e\n","products":[],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0400\/3902\/2744\/collections\/pergola-1143819_7ed7234e-c867-4b54-b758-6842ae088d01.jpg?v=1787731467","url":"https:\/\/erommy.ca\/collections\/louvered-pergola.oembed","provider":"Erommy","version":"1.0","type":"link"}