{"title":"Wall-Mounted Pergolas","description":"\u003cp\u003e\u003cmeta charset=\"UTF-8\"\u003e \u003cmeta content=\"width=device-width, initial-scale=1.0\" name=\"viewport\"\u003e\u003c\/p\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 id=\"text\" class=\"text\"\u003eAlthough you can choose to shop for a pergola based on your own preferences, there are some benefits of our wall-mounted pergolas that you should know about. This attached pergola structure can extend from the walls of your house to a patio, deck or even a pool, elevating any outdoor space depending on your needs and allowing for a great stylistic connection between the pergola and your outdoor space.\u003c\/p\u003e\n\u003cspan id=\"showMoreBtn\" class=\"toggle-btn\" onclick=\"toggleText()\"\u003eShow more\u003c\/span\u003e \u003cspan style=\"display: none;\" id=\"readLessBtn\" class=\"toggle-btn\" onclick=\"toggleText()\"\u003eRead less\u003c\/span\u003e\n\u003c\/div\u003e\n\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\/wall_mounted-2766096.jpg?v=1773986217","url":"https:\/\/erommy.ca\/collections\/wall-mounted-pergola.oembed","provider":"Erommy","version":"1.0","type":"link"}