<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Hyperlink an Icon on a template using HubL in CMS Development</title>
    <link>https://community.hubspot.com/t5/CMS-Development/Hyperlink-an-Icon-on-a-template-using-HubL/m-p/215634#M9529</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/75267"&gt;@aiellog&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;try this:&lt;/P&gt;&lt;PRE&gt;&amp;lt;a href="YOUR LINK GOES HERE"&amp;gt;{% custom_widget "kula_offer_default_icon_1" widget_name="Kula Offer - Icon", column_width="one-third", icon_custom_class="fa-cog", caption="&amp;lt;strong&amp;gt;Plenty of Settings&amp;lt;/strong&amp;gt;&amp;lt;br /&amp;gt;Kitoum allows offers a wide-assortment of settings that you can adjust to create completely bespoke web-based offers." %}&amp;lt;/a&amp;gt;&lt;/PRE&gt;&lt;P&gt;you can insert a text-widget/-module inside the href="" part to have the ability to insert custom links.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;you could also insert some boolean options to have something like "open in new tab" or rel="nofollow"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;to do add a boolean widget to your module( For example: "Open in new Tab?"). Your code should look something like this&lt;/P&gt;&lt;PRE&gt;&amp;lt;a href="" {% if module.open_in_new_tab %}target="_blank"{% endif %}&amp;gt;&amp;lt;!-- YOUR MODULE CODE --&amp;gt; &amp;lt;/a&amp;gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Anton&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;IMG src="https://cdn2.hubspot.net/hubfs/98485/2000px-Ok_sign_font_awesome.png" border="0" width="30" height="30" /&gt;&lt;/TD&gt;&lt;TD&gt;Did my post help answer your query? Help the Community by&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;marking it as a solution&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 08 Nov 2018 16:20:47 GMT</pubDate>
    <dc:creator>AntonB</dc:creator>
    <dc:date>2018-11-08T16:20:47Z</dc:date>
    <item>
      <title>Hyperlink an Icon on a template using HubL</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Hyperlink-an-Icon-on-a-template-using-HubL/m-p/215629#M9528</link>
      <description>&lt;P&gt;I am using a template for a landing page that has most parts of it interactable simply through the design editor however, there are these icons on the template such as a cog, or mobile phone that are just static and not interactable. I want to be able to hyhperlink these icons so that when clicked they redirect to certain pages. I looked into the html version of the template and found a line of code:&lt;/P&gt;&lt;P&gt;{% custom_widget "kula_offer_default_icon_1" widget_name="Kula Offer - Icon", column_width="one-third", icon_custom_class="fa-cog", caption="&amp;lt;strong&amp;gt;Plenty of Settings&amp;lt;/strong&amp;gt;&amp;lt;br /&amp;gt;Kitoum allows offers a wide-assortment of settings that you can adjust to create completely bespoke web-based offers." %}&lt;/P&gt;&lt;P&gt;that seems to be where the icon exists however, I can't figure out a way to hyperlink the icon. Is it possible to do this from editing this line of code, if not, what would I have to do to hyperlink an icon on the template?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Nov 2018 15:42:55 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Hyperlink-an-Icon-on-a-template-using-HubL/m-p/215629#M9528</guid>
      <dc:creator>aiellog</dc:creator>
      <dc:date>2018-11-08T15:42:55Z</dc:date>
    </item>
    <item>
      <title>Re: Hyperlink an Icon on a template using HubL</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Hyperlink-an-Icon-on-a-template-using-HubL/m-p/215634#M9529</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/75267"&gt;@aiellog&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;try this:&lt;/P&gt;&lt;PRE&gt;&amp;lt;a href="YOUR LINK GOES HERE"&amp;gt;{% custom_widget "kula_offer_default_icon_1" widget_name="Kula Offer - Icon", column_width="one-third", icon_custom_class="fa-cog", caption="&amp;lt;strong&amp;gt;Plenty of Settings&amp;lt;/strong&amp;gt;&amp;lt;br /&amp;gt;Kitoum allows offers a wide-assortment of settings that you can adjust to create completely bespoke web-based offers." %}&amp;lt;/a&amp;gt;&lt;/PRE&gt;&lt;P&gt;you can insert a text-widget/-module inside the href="" part to have the ability to insert custom links.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;you could also insert some boolean options to have something like "open in new tab" or rel="nofollow"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;to do add a boolean widget to your module( For example: "Open in new Tab?"). Your code should look something like this&lt;/P&gt;&lt;PRE&gt;&amp;lt;a href="" {% if module.open_in_new_tab %}target="_blank"{% endif %}&amp;gt;&amp;lt;!-- YOUR MODULE CODE --&amp;gt; &amp;lt;/a&amp;gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Anton&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;IMG src="https://cdn2.hubspot.net/hubfs/98485/2000px-Ok_sign_font_awesome.png" border="0" width="30" height="30" /&gt;&lt;/TD&gt;&lt;TD&gt;Did my post help answer your query? Help the Community by&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;marking it as a solution&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Nov 2018 16:20:47 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Hyperlink-an-Icon-on-a-template-using-HubL/m-p/215634#M9529</guid>
      <dc:creator>AntonB</dc:creator>
      <dc:date>2018-11-08T16:20:47Z</dc:date>
    </item>
    <item>
      <title>Re: Hyperlink an Icon on a template using HubL</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Hyperlink-an-Icon-on-a-template-using-HubL/m-p/215649#M9533</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/72313"&gt;@AntonB&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your response however, I tried what you suggested :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;a href="&lt;A target="_blank"&gt;https://www.datamotion.com"&amp;gt;{%&lt;/A&gt; custom_widget "kula_offer_default_icon_1" widget_name="Kula Offer - Icon", column_width="one-third", icon_custom_class="fa-cog", caption="&amp;lt;strong&amp;gt;Plenty of Settings&amp;lt;/strong&amp;gt;&amp;lt;br /&amp;gt;Kitoum allows offers a wide-assortment of settings that you can adjust to create completely bespoke web-based offers." %}&amp;lt;/a&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and still when I hover over the icon in live preview nothing changes, I still can't click the icon as you can see in the attached image.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2018-11-08 at 11.41.23 AM (2).png" style="width: 999px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/12955i078A382EDB6F7A59/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2018-11-08 at 11.41.23 AM (2).png" alt="Screen Shot 2018-11-08 at 11.41.23 AM (2).png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Nov 2018 16:43:05 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Hyperlink-an-Icon-on-a-template-using-HubL/m-p/215649#M9533</guid>
      <dc:creator>aiellog</dc:creator>
      <dc:date>2018-11-08T16:43:05Z</dc:date>
    </item>
    <item>
      <title>Re: Hyperlink an Icon on a template using HubL</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Hyperlink-an-Icon-on-a-template-using-HubL/m-p/215687#M9537</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/75267"&gt;@aiellog&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;hmm strange... Could you please provide a preview link(the one without preview options) from the page/template?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Anton&lt;/P&gt;</description>
      <pubDate>Thu, 08 Nov 2018 18:35:32 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Hyperlink-an-Icon-on-a-template-using-HubL/m-p/215687#M9537</guid>
      <dc:creator>AntonB</dc:creator>
      <dc:date>2018-11-08T18:35:32Z</dc:date>
    </item>
    <item>
      <title>Re: Hyperlink an Icon on a template using HubL</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Hyperlink-an-Icon-on-a-template-using-HubL/m-p/215689#M9538</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/72313"&gt;@AntonB&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://preview.hs-sites.com/_hcms/preview/template/multi?domain=undefined&amp;amp;portalId=219987&amp;amp;tc_deviceCategory=undefined&amp;amp;template_file_path=landing_page_basic/Kitoum_eBook_Template_v2_Copy_copy_2.html&amp;amp;updated=1541696776369" target="_blank"&gt;https://preview.hs-sites.com/_hcms/preview/template/multi?domain=undefined&amp;amp;portalId=219987&amp;amp;tc_deviceCategory=undefined&amp;amp;template_file_path=landing_page_basic/Kitoum_eBook_Template_v2_Copy_copy_2.html&amp;amp;updated=1541696776369&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Nov 2018 18:41:47 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Hyperlink-an-Icon-on-a-template-using-HubL/m-p/215689#M9538</guid>
      <dc:creator>aiellog</dc:creator>
      <dc:date>2018-11-08T18:41:47Z</dc:date>
    </item>
    <item>
      <title>Re: Hyperlink an Icon on a template using HubL</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Hyperlink-an-Icon-on-a-template-using-HubL/m-p/215696#M9540</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/75267"&gt;@aiellog&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;I've checked your page with the google inspector(CMD+Option+I on Mac; STRG+Shift+I on Windows) and couldn't find the link you've inserted. Did you applied/published the link?&lt;/P&gt;&lt;P&gt;Also I've tried to insert a link manually with the inspector(working only till I reload the page). It worked - but it's not the best solution to apply the link to the module code. A better way would be to apply the link to following div:&lt;/P&gt;&lt;PRE&gt;&amp;lt;div class="kula-offer-icon"&amp;gt;&lt;/PRE&gt;&lt;P&gt;this is the div which contains the icon.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you see/edit it in your module/template? If yes, apply the link as following&lt;/P&gt;&lt;PRE&gt;&amp;lt;a href="YOUR LINK"&amp;gt;
&amp;lt;div class="kula-offer-icon"&amp;gt;
&amp;lt;i class="fa {{probably-the-icon-widget}}"&amp;gt;&amp;lt;/i&amp;gt;
&amp;lt;/div&amp;gt;
&amp;lt;/a&amp;gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Anton&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Nov 2018 19:10:10 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Hyperlink-an-Icon-on-a-template-using-HubL/m-p/215696#M9540</guid>
      <dc:creator>AntonB</dc:creator>
      <dc:date>2018-11-08T19:10:10Z</dc:date>
    </item>
    <item>
      <title>Re: Hyperlink an Icon on a template using HubL</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Hyperlink-an-Icon-on-a-template-using-HubL/m-p/215737#M9549</link>
      <description>&lt;P&gt;After some deeper research on the template(&lt;A href="https://app.hubspot.com/marketplace/5024985/products/kula-partners/kula-offer" target="_blank"&gt;Kitoum_eBook_Template&lt;/A&gt;) here's the solution/tutoial to add a custom link to the icon module.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. add a text widget to the module&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline"&gt;&lt;IMG src="https://community.hubspot.com/t5/image/serverpage/image-id/12964i1E72351C8525E01B/image-size/large?v=1.0&amp;amp;px=999" border="0" alt="Bildschirmfoto 2018-11-08 um 22.33.21.png" title="Bildschirmfoto 2018-11-08 um 22.33.21.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. give it a name (and a "prefilled" link)&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline"&gt;&lt;IMG src="https://community.hubspot.com/t5/image/serverpage/image-id/12965i36FB7F01DF906599/image-size/large?v=1.0&amp;amp;px=999" border="0" alt="Bildschirmfoto 2018-11-08 um 22.35.56.png" title="Bildschirmfoto 2018-11-08 um 22.35.56.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3. copy the value of the widget&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline"&gt;&lt;IMG src="https://community.hubspot.com/t5/image/serverpage/image-id/12966i99613DE7FCBBE51B/image-size/large?v=1.0&amp;amp;px=999" border="0" alt="Bildschirmfoto 2018-11-08 um 22.37.22.png" title="Bildschirmfoto 2018-11-08 um 22.37.22.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;4. insert it into the "href part" and publish the changes.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline"&gt;&lt;IMG src="https://community.hubspot.com/t5/image/serverpage/image-id/12967i3336A55D87D63985/image-size/large?v=1.0&amp;amp;px=999" border="0" alt="Bildschirmfoto 2018-11-08 um 22.38.18.png" title="Bildschirmfoto 2018-11-08 um 22.38.18.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;5. open your page(which uses the template) and click on the certain module. You'll find the link-field at the very bottom on the left side&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline"&gt;&lt;IMG src="https://community.hubspot.com/t5/image/serverpage/image-id/12968iA5F52B12AB3E40C1/image-size/large?v=1.0&amp;amp;px=999" border="0" alt="Bildschirmfoto 2018-11-08 um 22.40.54.png" title="Bildschirmfoto 2018-11-08 um 22.40.54.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;6. change the value of it, save it and you're ready to go&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Anton&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;IMG src="https://cdn2.hubspot.net/hubfs/98485/2000px-Ok_sign_font_awesome.png" border="0" width="30" height="30" /&gt;&lt;/TD&gt;&lt;TD&gt;Did my post help answer your query? Help the Community by&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;marking it as a solution&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description>
      <pubDate>Thu, 08 Nov 2018 22:00:58 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Hyperlink-an-Icon-on-a-template-using-HubL/m-p/215737#M9549</guid>
      <dc:creator>AntonB</dc:creator>
      <dc:date>2018-11-08T22:00:58Z</dc:date>
    </item>
  </channel>
</rss>

