<?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: Adding Class and ID attributes to Custom Sections in CMS Development</title>
    <link>https://community.hubspot.com/t5/CMS-Development/Adding-Class-and-ID-attributes-to-Custom-Sections/m-p/1064345#M41176</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/851152"&gt;@JLarry5001&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sections don't support IDs/classes. Two workarounds you can try:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Develop section-as-module with custom ID and class fields.&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;Develop a "Settings" module that appends custom ID and class values to the section it's added into.&amp;nbsp;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;We use approach #2 in all of our HubSpot themes.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 04 Nov 2024 00:42:29 GMT</pubDate>
    <dc:creator>GiantFocal</dc:creator>
    <dc:date>2024-11-04T00:42:29Z</dc:date>
    <item>
      <title>Adding Class and ID attributes to Custom Sections</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Adding-Class-and-ID-attributes-to-Custom-Sections/m-p/1063964#M41171</link>
      <description>&lt;P&gt;Newbie having trouble here.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;My overall problem is that Class and ID attributes are not available on most elements in HS. (Insert rant here)&lt;BR /&gt;&lt;BR /&gt;My solution is to create a new section that has class and id attributes available to the user to edit. I have done this with custom modules but I'm having trouble with sections. Has anyone else had trouble doing this?&lt;/P&gt;</description>
      <pubDate>Fri, 01 Nov 2024 21:57:48 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Adding-Class-and-ID-attributes-to-Custom-Sections/m-p/1063964#M41171</guid>
      <dc:creator>JLarry5001</dc:creator>
      <dc:date>2024-11-01T21:57:48Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Class and ID attributes to Custom Sections</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Adding-Class-and-ID-attributes-to-Custom-Sections/m-p/1064345#M41176</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/851152"&gt;@JLarry5001&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sections don't support IDs/classes. Two workarounds you can try:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Develop section-as-module with custom ID and class fields.&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;Develop a "Settings" module that appends custom ID and class values to the section it's added into.&amp;nbsp;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;We use approach #2 in all of our HubSpot themes.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Nov 2024 00:42:29 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Adding-Class-and-ID-attributes-to-Custom-Sections/m-p/1064345#M41176</guid>
      <dc:creator>GiantFocal</dc:creator>
      <dc:date>2024-11-04T00:42:29Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Class and ID attributes to Custom Sections</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Adding-Class-and-ID-attributes-to-Custom-Sections/m-p/1065446#M41194</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/577159"&gt;@GiantFocal&lt;/a&gt;!&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;If you have a moment, could you elaborate on Option 2? I'm just getting started with HubL and am not familiar with how to append class and ID to a parent.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I appreciate it.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Nov 2024 22:23:33 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Adding-Class-and-ID-attributes-to-Custom-Sections/m-p/1065446#M41194</guid>
      <dc:creator>JLarry5001</dc:creator>
      <dc:date>2024-11-05T22:23:33Z</dc:date>
    </item>
  </channel>
</rss>

