<?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 Using and Customizing Button Module in a Section? in CMS Development</title>
    <link>https://community.hubspot.com/t5/CMS-Development/Using-and-Customizing-Button-Module-in-a-Section/m-p/749666#M32628</link>
    <description>&lt;P&gt;I am trying to add a default button module to a reusable section template, as well as edit the style parameter to change the button's background color, text color, etc. None of the changes I am making in the style parameter seem to be showing up. Here is my code for the button:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{% dnd_row %}
  {% dnd_module "button" path="@hubspot/button" button_text="My button" 
      link={ "url": { "type": "EXTERNAL", "href": "www.google.com", "content_id": null }, "open_in_new_tab": false, "no_follow": false }
         style={ "override_default_style": false, 
            "button_font": { "color": "#FFFFFF", "size_unit": "px" },
            "button_color": { "color": "#FFC0CB", "opacity": 100 },
            "text_hover_color": { "color": "#000000", "opacity": 100 },
            "button_hover_color": { "color": "#CCCCCC", "opacity": 100 } }
  %}
 {% end_dnd_module %}
{% end_dnd_row %}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As you can see, most of the style code is the defaults for the button module, but the button color is set to #FFC0CB, which seems to be doing nothing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any thoughts? &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
    <pubDate>Tue, 31 Jan 2023 20:20:51 GMT</pubDate>
    <dc:creator>cprv</dc:creator>
    <dc:date>2023-01-31T20:20:51Z</dc:date>
    <item>
      <title>Using and Customizing Button Module in a Section?</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Using-and-Customizing-Button-Module-in-a-Section/m-p/749666#M32628</link>
      <description>&lt;P&gt;I am trying to add a default button module to a reusable section template, as well as edit the style parameter to change the button's background color, text color, etc. None of the changes I am making in the style parameter seem to be showing up. Here is my code for the button:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{% dnd_row %}
  {% dnd_module "button" path="@hubspot/button" button_text="My button" 
      link={ "url": { "type": "EXTERNAL", "href": "www.google.com", "content_id": null }, "open_in_new_tab": false, "no_follow": false }
         style={ "override_default_style": false, 
            "button_font": { "color": "#FFFFFF", "size_unit": "px" },
            "button_color": { "color": "#FFC0CB", "opacity": 100 },
            "text_hover_color": { "color": "#000000", "opacity": 100 },
            "button_hover_color": { "color": "#CCCCCC", "opacity": 100 } }
  %}
 {% end_dnd_module %}
{% end_dnd_row %}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As you can see, most of the style code is the defaults for the button module, but the button color is set to #FFC0CB, which seems to be doing nothing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any thoughts? &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Tue, 31 Jan 2023 20:20:51 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Using-and-Customizing-Button-Module-in-a-Section/m-p/749666#M32628</guid>
      <dc:creator>cprv</dc:creator>
      <dc:date>2023-01-31T20:20:51Z</dc:date>
    </item>
    <item>
      <title>Re: Using and Customizing Button Module in a Section?</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Using-and-Customizing-Button-Module-in-a-Section/m-p/749888#M32643</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/478983"&gt;@cprv&lt;/a&gt;,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;have you tried to set "override_default_style" from &lt;EM&gt;false&lt;/EM&gt; to &lt;EM&gt;true&lt;/EM&gt;?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;best,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Anton&lt;/P&gt;</description>
      <pubDate>Wed, 01 Feb 2023 08:32:12 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Using-and-Customizing-Button-Module-in-a-Section/m-p/749888#M32643</guid>
      <dc:creator>Anton</dc:creator>
      <dc:date>2023-02-01T08:32:12Z</dc:date>
    </item>
    <item>
      <title>Re: Using and Customizing Button Module in a Section?</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Using-and-Customizing-Button-Module-in-a-Section/m-p/750803#M32672</link>
      <description>&lt;P&gt;Ah, thank you! That worked.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Feb 2023 17:28:16 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Using-and-Customizing-Button-Module-in-a-Section/m-p/750803#M32672</guid>
      <dc:creator>cprv</dc:creator>
      <dc:date>2023-02-02T17:28:16Z</dc:date>
    </item>
  </channel>
</rss>

