<?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: hubspot cloned module does not have associated style tab in CMS Development</title>
    <link>https://community.hubspot.com/t5/CMS-Development/hubspot-cloned-module-does-not-have-associated-style-tab/m-p/1023398#M40176</link>
    <description>&lt;P&gt;I see,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;thanks for providing this information.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'd say:&lt;BR /&gt;HubSpot provides all sort of options(like those ones) to their default modules. You can imagine the logic to be kinda like "if module is header and inside the hubspot-folder, add those options"&lt;/P&gt;
&lt;P&gt;Nobody except HubSpot can access or modify those options, so creating a custom module is always a good practise, if you want to extend the functionality and make it corporate design compliant.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Since you're using the boilerplate here a few tips:&lt;/P&gt;
&lt;P&gt;Add choice fields to the module (and theme) to a lot almost every option you want to have. Like font-color, font-size...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My personal headline module looks a bit like this:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;headline tag(h-tag)&lt;/LI&gt;
&lt;LI&gt;headline size(class)&lt;/LI&gt;
&lt;LI&gt;headline(text)&lt;/LI&gt;
&lt;LI&gt;style-tab
&lt;UL&gt;
&lt;LI&gt;headline color(primary, dark, light)&lt;/LI&gt;
&lt;LI&gt;animation(group with a bunch of animation settings)&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;The module.html it looks a bit like the example above.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The CSS is like this&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;.pri-color{
color:{{ theme.colors.primary.color }};
}

.sec-color{
color:{{ theme.colors.secondary.color }};
}

.dark-color{
color:{{ theme.colors.common.dark.color }};
}

.light-color{
color:{{ theme.colors.common.light.color }};
}

...

&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&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;best,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Anton&lt;/P&gt;</description>
    <pubDate>Wed, 07 Aug 2024 10:52:41 GMT</pubDate>
    <dc:creator>Anton</dc:creator>
    <dc:date>2024-08-07T10:52:41Z</dc:date>
    <item>
      <title>hubspot cloned module does not have associated style tab</title>
      <link>https://community.hubspot.com/t5/CMS-Development/hubspot-cloned-module-does-not-have-associated-style-tab/m-p/1022889#M40162</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I wanted to simply add a class text field option to some modules, lets say a Header module for this example. So I decided I would clone the default hubspot Header module to my theme. That was all fine.&lt;/P&gt;&lt;P&gt;The hubspot header module has style options for spacing, typography, background etc.&lt;/P&gt;&lt;P&gt;But the cloned one in my theme does not have these options. Why is this? And when you view the hubspot header module in design view it doe not have a style tab either, but it does while editing the page.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Aug 2024 14:16:19 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/hubspot-cloned-module-does-not-have-associated-style-tab/m-p/1022889#M40162</guid>
      <dc:creator>studiokb4</dc:creator>
      <dc:date>2024-08-06T14:16:19Z</dc:date>
    </item>
    <item>
      <title>Re: hubspot cloned module does not have associated style tab</title>
      <link>https://community.hubspot.com/t5/CMS-Development/hubspot-cloned-module-does-not-have-associated-style-tab/m-p/1023269#M40172</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/752284"&gt;@studiokb4&lt;/a&gt;,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'd say it's a bug. By default all fields and default settings of a module will be cloned.&lt;/P&gt;
&lt;P&gt;Have you cloned it via Design-Manager or via local environment/CLI?&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, 07 Aug 2024 06:14:58 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/hubspot-cloned-module-does-not-have-associated-style-tab/m-p/1023269#M40172</guid>
      <dc:creator>Anton</dc:creator>
      <dc:date>2024-08-07T06:14:58Z</dc:date>
    </item>
    <item>
      <title>Re: hubspot cloned module does not have associated style tab</title>
      <link>https://community.hubspot.com/t5/CMS-Development/hubspot-cloned-module-does-not-have-associated-style-tab/m-p/1023313#M40173</link>
      <description>&lt;P&gt;Hi Anton,&lt;/P&gt;&lt;P&gt;Thanks for the reply. I cloned it via design manager, I assumed that would be best to copy everything.&lt;/P&gt;&lt;P&gt;The thing is when I look at the header.module in design manager it actually has no Style fields. I'm wondering do the hubspot modules get assigned these default style fields in another way, save them having to do it individually per module.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Aug 2024 08:19:28 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/hubspot-cloned-module-does-not-have-associated-style-tab/m-p/1023313#M40173</guid>
      <dc:creator>studiokb4</dc:creator>
      <dc:date>2024-08-07T08:19:28Z</dc:date>
    </item>
    <item>
      <title>Re: hubspot cloned module does not have associated style tab</title>
      <link>https://community.hubspot.com/t5/CMS-Development/hubspot-cloned-module-does-not-have-associated-style-tab/m-p/1023356#M40174</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/752284"&gt;@studiokb4&lt;/a&gt;,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;thanks for the information.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you mean the header.module from the hubpost folder it's correct that it has no style fields or attached CSS files since it's getting the style information from the theme you're using it in. Also it's not recommended to have styling options in the header element since it will - most likely - provide to many options and you will have quite a hard time in the future to streamline the styling of every headline on every page.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In other words:&lt;/P&gt;
&lt;P&gt;You have to style the h-tags in your theme settings.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you want to modify them, look at the theme-override.css (might be called differently).&lt;/P&gt;
&lt;P&gt;There should be something like(just an example)&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;h1{
font-family: {{theme.fonts.headline.font-family }}
color: {{ theme.fonts.headline.color.color }}
}
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;you can override this to your desired outcome.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Personally I don't use the default header.module since creating a custom solution is super simple and can have a lot options which are fitting your use-case.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As an example:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;{% set h_tag = module.headline_tag %}
{% set h_size = module.headline_size %}
{% set h_class = module.custom_class %}
{% set headline = module.headline %}

&amp;lt;{{h_tag}} class="{{ h_size }}{% unless h_class == "" %} {{ h_class }}{% endunless %}"&amp;gt;
{{ headline }}
&amp;lt;/{{h_tag}}&amp;gt;&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;h_tag&lt;/EM&gt; and &lt;EM&gt;h_size&lt;/EM&gt; are choice fields with h1-h6 options. &lt;EM&gt;h_size&lt;/EM&gt; can have other elements like p, small, title... what ever you like to define as styling options&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;h_class&lt;/EM&gt; can be either another choice field which contains classes that are styled in the CSS or a simple text(not rich-text) field which let's you type in any word as a class. If this class exists in your CSS file, it will apply it to the text.&lt;BR /&gt;&lt;BR /&gt;best,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Anton&lt;/P&gt;</description>
      <pubDate>Wed, 07 Aug 2024 09:31:08 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/hubspot-cloned-module-does-not-have-associated-style-tab/m-p/1023356#M40174</guid>
      <dc:creator>Anton</dc:creator>
      <dc:date>2024-08-07T09:31:08Z</dc:date>
    </item>
    <item>
      <title>Re: hubspot cloned module does not have associated style tab</title>
      <link>https://community.hubspot.com/t5/CMS-Development/hubspot-cloned-module-does-not-have-associated-style-tab/m-p/1023379#M40175</link>
      <description>&lt;P&gt;Hi Anton,&lt;/P&gt;&lt;P&gt;Thanks. I knew the theme could control styles with css or from the theme options. But the module itself, when editing a page, has got these options. I was wondering where these came from. The theme I am working with started as the boilerplate theme. See a screenshot from the edit page screen below.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="screenshot-app-eu1.hubspot.com-2024.08.07-11_15_51.png" style="width: 500px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/124176i9D57747A24E15525/image-size/large?v=v2&amp;amp;px=999" role="button" title="screenshot-app-eu1.hubspot.com-2024.08.07-11_15_51.png" alt="screenshot-app-eu1.hubspot.com-2024.08.07-11_15_51.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;So when I copied this module, these style fields were not there on the copied header module.&lt;/P&gt;&lt;P&gt;Anyway, I think creating a custom header module is probably best as you suggested, I just thought that other way would be quicker seeing as that module existed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Aug 2024 10:21:02 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/hubspot-cloned-module-does-not-have-associated-style-tab/m-p/1023379#M40175</guid>
      <dc:creator>studiokb4</dc:creator>
      <dc:date>2024-08-07T10:21:02Z</dc:date>
    </item>
    <item>
      <title>Re: hubspot cloned module does not have associated style tab</title>
      <link>https://community.hubspot.com/t5/CMS-Development/hubspot-cloned-module-does-not-have-associated-style-tab/m-p/1023398#M40176</link>
      <description>&lt;P&gt;I see,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;thanks for providing this information.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'd say:&lt;BR /&gt;HubSpot provides all sort of options(like those ones) to their default modules. You can imagine the logic to be kinda like "if module is header and inside the hubspot-folder, add those options"&lt;/P&gt;
&lt;P&gt;Nobody except HubSpot can access or modify those options, so creating a custom module is always a good practise, if you want to extend the functionality and make it corporate design compliant.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Since you're using the boilerplate here a few tips:&lt;/P&gt;
&lt;P&gt;Add choice fields to the module (and theme) to a lot almost every option you want to have. Like font-color, font-size...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My personal headline module looks a bit like this:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;headline tag(h-tag)&lt;/LI&gt;
&lt;LI&gt;headline size(class)&lt;/LI&gt;
&lt;LI&gt;headline(text)&lt;/LI&gt;
&lt;LI&gt;style-tab
&lt;UL&gt;
&lt;LI&gt;headline color(primary, dark, light)&lt;/LI&gt;
&lt;LI&gt;animation(group with a bunch of animation settings)&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;The module.html it looks a bit like the example above.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The CSS is like this&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;.pri-color{
color:{{ theme.colors.primary.color }};
}

.sec-color{
color:{{ theme.colors.secondary.color }};
}

.dark-color{
color:{{ theme.colors.common.dark.color }};
}

.light-color{
color:{{ theme.colors.common.light.color }};
}

...

&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&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;best,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Anton&lt;/P&gt;</description>
      <pubDate>Wed, 07 Aug 2024 10:52:41 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/hubspot-cloned-module-does-not-have-associated-style-tab/m-p/1023398#M40176</guid>
      <dc:creator>Anton</dc:creator>
      <dc:date>2024-08-07T10:52:41Z</dc:date>
    </item>
    <item>
      <title>Re: hubspot cloned module does not have associated style tab</title>
      <link>https://community.hubspot.com/t5/CMS-Development/hubspot-cloned-module-does-not-have-associated-style-tab/m-p/1023400#M40177</link>
      <description>&lt;P&gt;Great, thanks for the tips. And thanks for the responses.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Aug 2024 10:57:37 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/hubspot-cloned-module-does-not-have-associated-style-tab/m-p/1023400#M40177</guid>
      <dc:creator>studiokb4</dc:creator>
      <dc:date>2024-08-07T10:57:37Z</dc:date>
    </item>
  </channel>
</rss>

