<?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 Custom Class and Custom ID to form module in CMS Development</title>
    <link>https://community.hubspot.com/t5/CMS-Development/Adding-Custom-Class-and-Custom-ID-to-form-module/m-p/867910#M36379</link>
    <description>&lt;P&gt;Can you post the module code?&amp;nbsp; When you apply that custom class, do you see it in the dev inspector?&lt;/P&gt;</description>
    <pubDate>Fri, 20 Oct 2023 19:06:01 GMT</pubDate>
    <dc:creator>dennisedson</dc:creator>
    <dc:date>2023-10-20T19:06:01Z</dc:date>
    <item>
      <title>Adding Custom Class and Custom ID to form module</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Adding-Custom-Class-and-Custom-ID-to-form-module/m-p/867409#M36364</link>
      <description>&lt;P&gt;There is a module that was developed for my site that includes a form called &lt;EM&gt;form-with-text.&lt;/EM&gt; I added CSS to the module to allign radio buttons horizontally:&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;LI-CODE lang="markup"&gt;#radioGroup .wrap {
  display: inline-block;
}
#radioGroup label {
  display: block;
  text-align: center;
  margin: 0 0.2em;
}
#radioGroup input[type="radio"] {
  display: block;
  margin: 0.5em auto;
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the page editor I added the Custom Class and Custom ID as so:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JCrowNM_0-1697753551943.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/101577i98A9067451CE33E3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JCrowNM_0-1697753551943.png" alt="JCrowNM_0-1697753551943.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;It still isn't working. Can anyone tell me what I am doing wrong?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;</description>
      <pubDate>Thu, 19 Oct 2023 22:15:21 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Adding-Custom-Class-and-Custom-ID-to-form-module/m-p/867409#M36364</guid>
      <dc:creator>JCrowNM</dc:creator>
      <dc:date>2023-10-19T22:15:21Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Custom Class and Custom ID to form module</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Adding-Custom-Class-and-Custom-ID-to-form-module/m-p/867689#M36369</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/614084"&gt;@JCrowNM&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for reaching out!&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I understand that you would add CSS to&amp;nbsp;&lt;SPAN&gt;align radio buttons horizontally on a custom module, however, it's not working, correct?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;Are you seeing an error message or are the radio buttons not aligning as expected? Do you have any screenshots and/or links to the webpage with the module so we can take a look?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you!&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Kristen&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Oct 2023 12:32:14 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Adding-Custom-Class-and-Custom-ID-to-form-module/m-p/867689#M36369</guid>
      <dc:creator>kvlschaefer</dc:creator>
      <dc:date>2023-10-20T12:32:14Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Custom Class and Custom ID to form module</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Adding-Custom-Class-and-Custom-ID-to-form-module/m-p/867887#M36376</link>
      <description>&lt;P&gt;Hi Kristen,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the response. No, there is no error message, it is just that the radio buttons appear vertically rather than horizontally.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The page is at&amp;nbsp;&lt;A href="https://info.newmeridiancorp.org/njsba-contact-us" target="_blank"&gt;https://info.newmeridiancorp.org/njsba-contact-us&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried adding the CSS to the module HTML and forcing it via !important.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried calling the class and id from the page fields (shown in screenshot above).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can manipulate the code in the Chrome DevTools to get it to look like this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JCrowNM_0-1697826111717.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/101657iA0E787FDA3551E9C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JCrowNM_0-1697826111717.png" alt="JCrowNM_0-1697826111717.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Which is the direction I want to go in instead of this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JCrowNM_1-1697826153423.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/101658i17DD4412A9961215/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JCrowNM_1-1697826153423.png" alt="JCrowNM_1-1697826153423.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;But I just need to get the CSS to override whatever the defaults are for this specific page or module.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;</description>
      <pubDate>Fri, 20 Oct 2023 18:23:25 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Adding-Custom-Class-and-Custom-ID-to-form-module/m-p/867887#M36376</guid>
      <dc:creator>JCrowNM</dc:creator>
      <dc:date>2023-10-20T18:23:25Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Custom Class and Custom ID to form module</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Adding-Custom-Class-and-Custom-ID-to-form-module/m-p/867895#M36377</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/614084"&gt;@JCrowNM&lt;/a&gt;&amp;nbsp;, it appears you got it working!&amp;nbsp; If you are still seeing the vertical version, make sure to bust the cache&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="NJSBA_Contacts_Us_Page.png" style="width: 906px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/101660i96A4BA35483C5A06/image-size/large?v=v2&amp;amp;px=999" role="button" title="NJSBA_Contacts_Us_Page.png" alt="NJSBA_Contacts_Us_Page.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Oct 2023 18:47:55 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Adding-Custom-Class-and-Custom-ID-to-form-module/m-p/867895#M36377</guid>
      <dc:creator>dennisedson</dc:creator>
      <dc:date>2023-10-20T18:47:55Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Custom Class and Custom ID to form module</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Adding-Custom-Class-and-Custom-ID-to-form-module/m-p/867896#M36378</link>
      <description>Thanks. I did. I would still like to know how to use the Custom Class and Custom ID fields in the page editor, but for now at least I have it working in the straight up CSS.&lt;BR /&gt;</description>
      <pubDate>Fri, 20 Oct 2023 18:48:58 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Adding-Custom-Class-and-Custom-ID-to-form-module/m-p/867896#M36378</guid>
      <dc:creator>JCrowNM</dc:creator>
      <dc:date>2023-10-20T18:48:58Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Custom Class and Custom ID to form module</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Adding-Custom-Class-and-Custom-ID-to-form-module/m-p/867910#M36379</link>
      <description>&lt;P&gt;Can you post the module code?&amp;nbsp; When you apply that custom class, do you see it in the dev inspector?&lt;/P&gt;</description>
      <pubDate>Fri, 20 Oct 2023 19:06:01 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Adding-Custom-Class-and-Custom-ID-to-form-module/m-p/867910#M36379</guid>
      <dc:creator>dennisedson</dc:creator>
      <dc:date>2023-10-20T19:06:01Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Custom Class and Custom ID to form module</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Adding-Custom-Class-and-Custom-ID-to-form-module/m-p/867914#M36380</link>
      <description>&lt;P&gt;Here is the module code:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;div{% if module.custom_id %} id="{{ module.custom_id }}"{% else %} id="{{ module.hero_content.heading|striptags|lower|replace(' ','-') }}"{% endif %} class="form-with-text-wrapper {{'form-with-text-wrapper-'~name}} {{ module.custom_class }}"&amp;gt;
  &amp;lt;div class="container"&amp;gt;

    {# BACKGROUND OPTIONS #}
    &amp;lt;div class="bg-type"&amp;gt;

      {% if module.style.hero_background_type.background_type =='img' %}
      &amp;lt;div class="img"&amp;gt;
        &amp;lt;img src="{{ module.style.hero_background_type.image_field.src }}" alt="{{ module.hero_background_type.image_field.alt }}" {{ loadingAttr }} {{ sizeAttrs }}&amp;gt;
      &amp;lt;/div&amp;gt;

      {% elif module.style.hero_background_type.background_type =='color' %}
      &amp;lt;div class="clr"&amp;gt;&amp;lt;/div&amp;gt;

      {% endif %}

    &amp;lt;/div&amp;gt;

    {# CONTENT #}
    &amp;lt;div class="column-group"&amp;gt;

      {# CONTENT column#}
      &amp;lt;div class="content-column"&amp;gt;
        &amp;lt;div class="column-inner"&amp;gt;
          {% if module.hero_content.heading_type =='h1' %}
          &amp;lt;h1 class="title"&amp;gt;{{ module.hero_content.heading }}&amp;lt;/h1&amp;gt;
          {% elif module.hero_content.heading_type =='h2' %}
          &amp;lt;h2 class="title"&amp;gt;{{ module.hero_content.heading }}&amp;lt;/h2&amp;gt;
          {% elif module.hero_content.heading_type =='h3' %}
          &amp;lt;h3 class="title"&amp;gt;{{ module.hero_content.heading }}&amp;lt;/h3&amp;gt;
          {% elif module.hero_content.heading_type =='h4' %}
          &amp;lt;h4 class="title"&amp;gt;{{ module.hero_content.heading }}&amp;lt;/h4&amp;gt;
          {% endif %}

          &amp;lt;div class="description"&amp;gt;{{ module.hero_content.content }}&amp;lt;/div&amp;gt;

        &amp;lt;/div&amp;gt;
      &amp;lt;/div&amp;gt;

      {# form column#}
      &amp;lt;div class="form-column"&amp;gt;
        &amp;lt;div class="form-inner"&amp;gt;

          {% if module.hero_image.check_for_form_title %}
          &amp;lt;h3 class="form_title"&amp;gt;{{ module.hero_image.form_title }}&amp;lt;/h3&amp;gt;
          {% endif %}

          {% form
          form_to_use="{{ module.hero_image.form_field.form_id }}"
          response_response_type="{{ module.hero_image.form_field.response_type }}"
          response_message="{{ module.hero_image.form_field.message }}"
          response_redirect_id="{{ module.hero_image.form_field.redirect_id }}"
          response_redirect_url="{{module.hero_image.form_field.redirect_url}}"
          gotowebinar_webinar_key="{{ module.hero_image.form_field.gotowebinar_webinar_key }}"
        %}
        &amp;lt;/div&amp;gt;
      &amp;lt;/div&amp;gt;
    &amp;lt;/div&amp;gt;
  &amp;lt;/div&amp;gt;  
&amp;lt;/div&amp;gt;

{#CUSTOM CSS#}
{% require_css %}
&amp;lt;style&amp;gt;
  
  /* Align radio buttons horizontally */

form .inputs-list {
    display: flex!important;
    list-style: none!important;
    margin: 5px!important;
    padding: 5px!important;
}

  form .inputs-list&amp;gt;li {
    padding: 15px!important;
    display: flex!important;
    margin: .7rem 0!important;
}
  
  .{{'form-with-text-wrapper-'~name}}.form-with-text-wrapper {
    position:relative;overflow:hidden;
    {{ module.style.section_spacing.spacing.css }}
  }
  .{{'form-with-text-wrapper-'~name}}.form-with-text-wrapper .bg-type .clr {
    width:100%;height:100%;position:absolute;left:0;top:0;z-index:-1;
    background:rgba({{ module.style.hero_background_type.color_field.color|convert_rgb }},{{ module.style.hero_background_type.color_field.opacity~'%' }});
  }
  .{{'form-with-text-wrapper-'~name}}.form-with-text-wrapper .bg-type{background-size:cover;background-repeat:no-repeat;background-position:center center}
  .{{'form-with-text-wrapper-'~name}}.form-with-text-wrapper .bg-type img,
  .{{'form-with-text-wrapper-'~name}}.form-with-text-wrapper .bg-type .video{position:absolute;top:0;left:0;z-index:-1;width:100%;min-width:100%;min-height:100%;height:100%;-o-object-fit:cover;object-fit:cover}
  .{{'form-with-text-wrapper-'~name}}.form-with-text-wrapper .column-group{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start;margin:0 -20px}
  .{{'form-with-text-wrapper-'~name}}.form-with-text-wrapper .column-group .content-column{-webkit-box-flex:0;-ms-flex:0 0 50%;flex:0 0 50%;width:50%;padding:0 20px;-webkit-box-sizing:border-box;box-sizing:border-box}
  .{{'form-with-text-wrapper-'~name}}.form-with-text-wrapper .column-group .form-column{-webkit-box-flex:0;-ms-flex:0 0 50%;flex:0 0 50%;width:50%;padding:0 20px;-webkit-box-sizing:border-box;box-sizing:border-box}
  .{{'form-with-text-wrapper-'~name}}.form-with-text-wrapper .form-column .form-inner{padding:40px}
  .{{'form-with-text-wrapper-'~name}}.form-with-text-wrapper .form-column .form-inner .form-title{display:none}
  .{{'form-with-text-wrapper-'~name}}.form-with-text-wrapper .form-column .form-inner form .hs-form-field label{font-size:16px}
  .{{'form-with-text-wrapper-'~name}}.form-with-text-wrapper .form-column .form-inner form .hs-input{font-size:16px;padding:10px;background:#fff;border-radius:0;border:2px solid #d1dacc;margin-right:15px;width:100%;display:block;-webkit-box-sizing:border-box;box-sizing:border-box}
  .{{'form-with-text-wrapper-'~name}}.form-with-text-wrapper .form-column .form-inner form .hs-input:focus,
  .{{'form-with-text-wrapper-'~name}}.form-with-text-wrapper .form-column .form-inner form .hs-input:hover{outline:0}
  .{{'form-with-text-wrapper-'~name}}.form-with-text-wrapper .form-column .form-inner form input.hs-button{min-width:160px;font-size:16px;line-height:22px;color:#344263;background:#81d8fd;padding:10px 50px;border:none;cursor:pointer;border:2px solid #81d8fd}
  .{{'form-with-text-wrapper-'~name}}.form-with-text-wrapper .form-column .form-inner form ul.hs-error-msgs{padding:0;list-style:none;margin-top:0}

  .{{'form-with-text-wrapper-'~name}}.form-with-text-wrapper .form-column .submitted-message{
    color: {{ module.style.form_settings.form_success_message_settings.title_primary_color.color }};
    {{ module.style.form_settings.form_success_message_settings.title_alignment_field_1.css }};
  }

  .{{'form-with-text-wrapper-'~name}}.form-with-text-wrapper .form-column .form-inner form .hs_error_rollup { display:none; }

  {% if module.style.check_to_set_container_width %}
  .{{'form-with-text-wrapper-'~name}}.form-with-text-wrapper .container {  max-width:{{ module.style.container_width }}px;margin:0 auto;  } 
  {% endif %}

  {% if module.image_position =='left' %}
    .{{'form-with-text-wrapper-'~name}}.form-with-text-wrapper .column-group .form-column{-webkit-box-ordinal-group:3;-ms-flex-order:2;order:2}
    .{{'form-with-text-wrapper-'~name}}.form-with-text-wrapper .column-group .content-column{-webkit-box-ordinal-group:2;-ms-flex-order:1;order:1;padding-bottom:30px}
  {% elif module.image_position =='right' %}
    .{{'form-with-text-wrapper-'~name}}.form-with-text-wrapper .column-group .form-column{-webkit-box-ordinal-group:2;-ms-flex-order:1;order:1;padding-bottom:30px}
    .{{'form-with-text-wrapper-'~name}}.form-with-text-wrapper .column-group .content-column{-webkit-box-ordinal-group:3;-ms-flex-order:2;order:2}
  {% elif module.image_position =='text_top' %}
    .{{'form-with-text-wrapper-'~name}}.form-with-text-wrapper .column-group{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;max-width:850px;margin-right:auto;margin-left:auto}
    .{{'form-with-text-wrapper-'~name}}.form-with-text-wrapper .column-group .content-column,
    .{{'form-with-text-wrapper-'~name}}.form-with-text-wrapper .column-group .form-column{-webkit-box-flex:0;-ms-flex:0 0 100%;flex:0 0 100%;width:100%;padding:0 20px;-webkit-box-sizing:border-box;box-sizing:border-box}
    .{{'form-with-text-wrapper-'~name}}.form-with-text-wrapper .column-group .content-column{padding-bottom:30px}
    .{{'form-with-text-wrapper-'~name}}.form-with-text-wrapper .form-column .form-inner form fieldset{max-width:100%}
    .{{'form-with-text-wrapper-'~name}}.form-with-text-wrapper .form-column .form-inner form .actions{text-align:center}
  {% endif %}

  .{{'form-with-text-wrapper-'~name}}.form-with-text-wrapper .content-column .title {
    margin-top:0;margin-bottom:15px;
    {{ module.style.heading_settings.textalignment_field.css }};
    color:{{ module.style.heading_settings.color_field_2.color }};
  }
  .{{'form-with-text-wrapper-'~name}}.form-with-text-wrapper .content-column .description h2,
  .{{'form-with-text-wrapper-'~name}}.form-with-text-wrapper .content-column .description h3,
  .{{'form-with-text-wrapper-'~name}}.form-with-text-wrapper .content-column .description h4,
  .{{'form-with-text-wrapper-'~name}}.form-with-text-wrapper .content-column .description h5,
  .{{'form-with-text-wrapper-'~name}}.form-with-text-wrapper .content-column .description h6{
    margin:0 0 15px;
    {{ module.style.content_settings.textalignment_field.css }};
    color:{{ module.style.content_settings.color_field_2.color }};
  }
  .{{'form-with-text-wrapper-'~name}}.form-with-text-wrapper .content-column .description,
  .{{'form-with-text-wrapper-'~name}}.form-with-text-wrapper .content-column .description p,
  .{{'form-with-text-wrapper-'~name}}.form-with-text-wrapper .content-column .description ul li,
  .{{'form-with-text-wrapper-'~name}}.form-with-text-wrapper .content-column .description ol li{
    {{ module.style.content_settings.textalignment_field.css }};
    color:{{ module.style.content_settings.color_field_2.color }};
  }
  .{{'form-with-text-wrapper-'~name}}.form-with-text-wrapper .content-column .description ul li,
  .{{'form-with-text-wrapper-'~name}}.form-with-text-wrapper .content-column .description ol li{ margin-bottom:10px; }
  .{{'form-with-text-wrapper-'~name}}.form-with-text-wrapper .content-column .description p:last-child,
  .{{'form-with-text-wrapper-'~name}}.form-with-text-wrapper .content-column .description ul li:last-child,
  .{{'form-with-text-wrapper-'~name}}.form-with-text-wrapper .content-column .description ol li:last-child{ margin-bottom:0; }
  .{{'form-with-text-wrapper-'~name}}.form-with-text-wrapper .content-column .btn-grp{  {{ module.style.button_settings.button_alignment.css }}  }
  .{{'form-with-text-wrapper-'~name}}.form-with-text-wrapper .column-group .form-column .form_title{
    margin:0 0 30px;
    color:{{ module.style.form_settings.form_title_settings.title_primary_color.color }};
    {{ module.style.form_settings.form_title_settings.title_alignment_field_1.css }}
  }

  {% if module.style.form_settings.form_styling.form_background_type =='bg_clr' %}
    .{{'form-with-text-wrapper-'~name}}.form-with-text-wrapper .form-column .form-inner {  background:rgba({{ module.style.form_settings.form_styling.color_field_1.color|convert_rgb }},{{ module.style.form_settings.form_styling.color_field_1.opacity~'%' }});  }
  {% elif module.style.form_settings.form_styling.form_background_type =='transparent' %}
    .{{'form-with-text-wrapper-'~name}}.form-with-text-wrapper .form-column .form-inner { background:transparent;padding:0; }
    .{{'form-with-text-wrapper-'~name}}.form-with-text-wrapper .form-column .form-inner form .hs-input { border-color:#fff; }
    .{{'form-with-text-wrapper-'~name}}.form-with-text-wrapper .form-column .form-inner form .submitted-message { color:#fff; }
  {% endif %}
  
  .{{'form-with-text-wrapper-'~name}}.form-with-text-wrapper .form-column .form-inner form .hs-input,
  .{{'form-with-text-wrapper-'~name}}.form-with-text-wrapper .form-column .form-inner form .hs-form-field label,
  .{{'form-with-text-wrapper-'~name}}.form-with-text-wrapper .form-column .form-inner form .hs-input::placeholder { color:{{ module.style.form_settings.form_text_settings.content_color.color }}; }
  .{{'form-with-text-wrapper-'~name}}.form-with-text-wrapper .form-column .form-inner form .actions{  margin-right:8px;{{ module.style.form_settings.button_settings.button_alignment.css }};  }
  .{{'form-with-text-wrapper-'~name}}.form-with-text-wrapper .form-column .form-inner form label.hs-error-msg{  color:#f00;font-size:14px;  }

  /*BUTTON HOVER*/
  .{{'form-with-text-wrapper-'~name}}.form-with-text-wrapper .form-column .form-inner form input.hs-button {
    background:rgba({{ module.style.form_settings.button_settings.background_color_.color|convert_rgb }},{{ module.style.form_settings.button_settings.background_color_.opacity~'%' }});
    color:{{ module.style.form_settings.button_settings.text_color.color }};
    border:2px solid {{ module.style.form_settings.button_settings.border_color_.color }};
    border-radius:{{ module.style.form_settings.button_settings.border_radius }}px;
  }
  .{{'form-with-text-wrapper-'~name}}.form-with-text-wrapper .form-column .form-inner form input.hs-button:hover{
    background:rgba({{ module.style.form_settings.button_settings.background_color.color|convert_rgb }},{{ module.style.form_settings.button_settings.background_color.opacity~'%' }});
    color:{{ module.style.form_settings.button_settings.hover_text_color.color }};
    border:2px solid {{ module.style.form_settings.button_settings.border_color.color }};
  }

  /*MOBILES STYLE*/
  &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/83477"&gt;@media&lt;/a&gt;(max-width:1024px){
    .{{'form-with-text-wrapper-'~name}}.form-with-text-wrapper{  {{ module.style.section_spacing.ipad_spacing.css }};  }
  }
  &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/83477"&gt;@media&lt;/a&gt;(max-width:767px){
    .{{'form-with-text-wrapper-'~name}}.form-with-text-wrapper{  {{ module.style.section_spacing.mobile.css }}  }
    {% if module.image_position =='left' %}
    .{{'form-with-text-wrapper-'~name}}.form-with-text-wrapper .column-group .form-column { order:1;padding-bottom:30px; }
    {% elif module.image_position =='right' %}
    .{{'form-with-text-wrapper-'~name}}.form-with-text-wrapper .column-group .content-column { order:1;padding-bottom:30px; }
    {% endif %}
    .{{'form-with-text-wrapper-'~name}}.form-with-text-wrapper .column-group .content-column { flex:0 0 100%;width:100%; }
    .{{'form-with-text-wrapper-'~name}}.form-with-text-wrapper .column-group .content-column br {
      display:none;
    }
    .{{'form-with-text-wrapper-'~name}}.form-with-text-wrapper .column-group .form-column { flex:0 0 100%;width:100%; }
    .{{'form-with-text-wrapper-'~name}}.form-with-text-wrapper .content-column .contact-button { min-width:120px; }
  }
&amp;lt;/style&amp;gt;
{% end_require_css %}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I apply the custom class I don't see it in the inspector. I was able to just make everything !important and it worked, but it would be nice to have another class that can be referenced from the page editor.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;</description>
      <pubDate>Fri, 20 Oct 2023 19:19:30 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Adding-Custom-Class-and-Custom-ID-to-form-module/m-p/867914#M36380</guid>
      <dc:creator>JCrowNM</dc:creator>
      <dc:date>2023-10-20T19:19:30Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Custom Class and Custom ID to form module</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Adding-Custom-Class-and-Custom-ID-to-form-module/m-p/867930#M36382</link>
      <description>&lt;P&gt;Ok.&amp;nbsp; So that if statement in the beginning must not be working properly.&lt;/P&gt;
&lt;P&gt;In the module again, look for the text field with the label &lt;STRONG&gt;C&lt;/STRONG&gt;&lt;STRONG&gt;ustom ID.&amp;nbsp; &lt;/STRONG&gt;We need to make sure that the name is the same as in the if statement.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It should be &lt;STRONG&gt;custom_id&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;If it is not, change the name of it to be that.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you are looking in the design manager, you can click on the field name in the right sidebar and have an option to copy the HubL variable value.&amp;nbsp; Clicking on that and pasting it somewhere should return this:&amp;nbsp;&lt;STRONG&gt;{{ module.custom_id }}&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Community_Test_Acct.png" style="width: 999px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/101664i1ECB6A3F712FD337/image-size/large?v=v2&amp;amp;px=999" role="button" title="Community_Test_Acct.png" alt="Community_Test_Acct.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Fri, 20 Oct 2023 19:47:20 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Adding-Custom-Class-and-Custom-ID-to-form-module/m-p/867930#M36382</guid>
      <dc:creator>dennisedson</dc:creator>
      <dc:date>2023-10-20T19:47:20Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Custom Class and Custom ID to form module</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Adding-Custom-Class-and-Custom-ID-to-form-module/m-p/867936#M36383</link>
      <description>I copied the variable and got {{ module.custom_id }}&lt;BR /&gt;&lt;BR /&gt;I did the same for Custom Class and got : {{ module.custom_class }}&lt;BR /&gt;</description>
      <pubDate>Fri, 20 Oct 2023 19:50:58 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Adding-Custom-Class-and-Custom-ID-to-form-module/m-p/867936#M36383</guid>
      <dc:creator>JCrowNM</dc:creator>
      <dc:date>2023-10-20T19:50:58Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Custom Class and Custom ID to form module</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Adding-Custom-Class-and-Custom-ID-to-form-module/m-p/869263#M36406</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/17186"&gt;@Anton&lt;/a&gt;&amp;nbsp;, do you see anything i am missing here?&lt;/P&gt;
&lt;P&gt;my next step would be to clone the module&amp;nbsp; put those two variables outside to print to screen.&amp;nbsp; the class one is not enclosed in the if statement so it should be printing.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Oct 2023 14:48:54 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Adding-Custom-Class-and-Custom-ID-to-form-module/m-p/869263#M36406</guid>
      <dc:creator>dennisedson</dc:creator>
      <dc:date>2023-10-24T14:48:54Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Custom Class and Custom ID to form module</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Adding-Custom-Class-and-Custom-ID-to-form-module/m-p/885253#M36878</link>
      <description>&lt;P&gt;I tried creating a class in both the module.html and then the module.css:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;  .fmtest {
    color: red!important;
    font-size: 100px!important;
    padding: 100px!important;
  }&lt;/LI-CODE&gt;&lt;P&gt;I then tried adding the custom class ".fmtest" and "fmtest" to the Custom Class field on the Form With Text page editor.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Nothing changed.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Nov 2023 19:23:32 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Adding-Custom-Class-and-Custom-ID-to-form-module/m-p/885253#M36878</guid>
      <dc:creator>JCrowNM</dc:creator>
      <dc:date>2023-11-27T19:23:32Z</dc:date>
    </item>
  </channel>
</rss>

