<?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: Styling Label of Radio Buttons and Form Fields in CMS Development</title>
    <link>https://community.hubspot.com/t5/CMS-Development/Styling-Label-of-Radio-Buttons-and-Form-Fields/m-p/906512#M37462</link>
    <description>&lt;P&gt;Seems to me that these are two indpendent techniques. When the label is a null string the space above the field collapses to reflect that as in your example.&lt;/P&gt;</description>
    <pubDate>Tue, 16 Jan 2024 21:25:37 GMT</pubDate>
    <dc:creator>SteveHTM</dc:creator>
    <dc:date>2024-01-16T21:25:37Z</dc:date>
    <item>
      <title>Styling Label of Radio Buttons and Form Fields</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Styling-Label-of-Radio-Buttons-and-Form-Fields/m-p/906266#M37451</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;to make my form look cleaner I just use the placeholder text and make the labels invisible by using this code in my css stylesheet:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;.hs-form label {&lt;BR /&gt;color:transparent!important;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now I have the problem, that my radio buttons and checkbox areas also have no label anymore (but I would need it displayed there). How can I address the labels of radio buttons to give them a different style?&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jan 2024 15:22:05 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Styling-Label-of-Radio-Buttons-and-Form-Fields/m-p/906266#M37451</guid>
      <dc:creator>Harling</dc:creator>
      <dc:date>2024-01-16T15:22:05Z</dc:date>
    </item>
    <item>
      <title>Re: Styling Label of Radio Buttons and Form Fields</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Styling-Label-of-Radio-Buttons-and-Form-Fields/m-p/906286#M37455</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/518944"&gt;@Harling&lt;/a&gt;&amp;nbsp;- I have found that the easiest way to selectively remove labels is just to clear the label string on the form definition when you set up the placeholder. This way you can have a mix of styles dependent on the field type &amp;amp; other requirements.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jan 2024 15:43:15 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Styling-Label-of-Radio-Buttons-and-Form-Fields/m-p/906286#M37455</guid>
      <dc:creator>SteveHTM</dc:creator>
      <dc:date>2024-01-16T15:43:15Z</dc:date>
    </item>
    <item>
      <title>Re: Styling Label of Radio Buttons and Form Fields</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Styling-Label-of-Radio-Buttons-and-Form-Fields/m-p/906311#M37456</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/63499"&gt;@SteveHTM&lt;/a&gt;&amp;nbsp;- this could be a solution, but I also make the font really small to make the form as dense as needed. This wouldn't be possible when still having the "empty labels" above the fields, but I'll try.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Harling_0-1705420904873.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/107145i617DBA1A1056FE15/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Harling_0-1705420904873.png" alt="Harling_0-1705420904873.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;This is how my form usually should look like, no labels but only placeholder text for normal fields to fill in.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jan 2024 16:02:31 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Styling-Label-of-Radio-Buttons-and-Form-Fields/m-p/906311#M37456</guid>
      <dc:creator>Harling</dc:creator>
      <dc:date>2024-01-16T16:02:31Z</dc:date>
    </item>
    <item>
      <title>Re: Styling Label of Radio Buttons and Form Fields</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Styling-Label-of-Radio-Buttons-and-Form-Fields/m-p/906512#M37462</link>
      <description>&lt;P&gt;Seems to me that these are two indpendent techniques. When the label is a null string the space above the field collapses to reflect that as in your example.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jan 2024 21:25:37 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Styling-Label-of-Radio-Buttons-and-Form-Fields/m-p/906512#M37462</guid>
      <dc:creator>SteveHTM</dc:creator>
      <dc:date>2024-01-16T21:25:37Z</dc:date>
    </item>
    <item>
      <title>Betreff: Styling Label of Radio Buttons and Form Fields</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Styling-Label-of-Radio-Buttons-and-Form-Fields/m-p/906726#M37468</link>
      <description>&lt;P&gt;It still would be interesting to have a possibility to style drop box labels different by CSS, but for now the solution to delete the labels is fine for me. I wonder what happens for disabled people with screen reader, if the fields have no label anymore. THis is the reaso why I just set them transparent in the first step.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jan 2024 08:59:30 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Styling-Label-of-Radio-Buttons-and-Form-Fields/m-p/906726#M37468</guid>
      <dc:creator>Harling</dc:creator>
      <dc:date>2024-01-17T08:59:30Z</dc:date>
    </item>
  </channel>
</rss>

