<?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: Navigation bar text size adjustment in CMS Development</title>
    <link>https://community.hubspot.com/t5/CMS-Development/Navigation-bar-text-size-adjustment/m-p/430557#M22679</link>
    <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/13982"&gt;@dennisedson&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/184468"&gt;@SOxley&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So the font size of the navigation is adjusted with the body font size in the typography settings. That's probably not ideal if you wanted the navigation size to be different. But I assume it was coded that way to keep it nicely scaled and consistent.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Screen Shot 2021-04-22 at 1.21.05 PM.png" style="width: 183px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/41409i3570044D620E6954/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screen Shot 2021-04-22 at 1.21.05 PM.png" alt="Screen Shot 2021-04-22 at 1.21.05 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you wanted to adjust the font size manually you can add this to your custom css and change the font-size to your liking.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="css"&gt;.header__menu .header__navigation .menu-link {
font-size: 16px;
}&lt;/LI-CODE&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;</description>
    <pubDate>Thu, 22 Apr 2021 17:21:52 GMT</pubDate>
    <dc:creator>jonchim</dc:creator>
    <dc:date>2021-04-22T17:21:52Z</dc:date>
    <item>
      <title>Navigation bar text size adjustment</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Navigation-bar-text-size-adjustment/m-p/430266#M22637</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've got a Navigation bar question that I've so far not been able to get an answer to.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm using the MarTech Hubspot template and would like to increase the font size of my navigation bar. I can't find a suitable option in the Global content editor or in the Themes editor. Hubspot support are on the case but 3 days in and no reply.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm not a developer but can get access to a developer if changing the code is the only way.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Has anyone had a similar problem?&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;Is it best practice to change the font size of my navigation? (It looks small and hard to read to me, but maybe it's a standard size?)&amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Any advice or a link to an article with more info on this would be great.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sarah&lt;/P&gt;</description>
      <pubDate>Thu, 22 Apr 2021 09:24:45 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Navigation-bar-text-size-adjustment/m-p/430266#M22637</guid>
      <dc:creator>SOxley</dc:creator>
      <dc:date>2021-04-22T09:24:45Z</dc:date>
    </item>
    <item>
      <title>Re: Navigation bar text size adjustment</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Navigation-bar-text-size-adjustment/m-p/430541#M22671</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/184468"&gt;@SOxley&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Was just snooping around the theme and it appears that that was not an option set for the theme editor so you will need to adjust in the css.&amp;nbsp; I reached out to the support rep to tell them where to edit and they should reach out to you shortly with a link to the line that needs to be edited.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Now for the second question.&amp;nbsp; That is a very subjective one.&amp;nbsp; If you would like to some thoughts on it, you will need to post a link to an example page so the Community can see&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/55480"&gt;@jonchim&lt;/a&gt; and &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/17186"&gt;@Anton&lt;/a&gt; are the people who would be able to get you some solid opinions!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Apr 2021 17:04:40 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Navigation-bar-text-size-adjustment/m-p/430541#M22671</guid>
      <dc:creator>dennisedson</dc:creator>
      <dc:date>2021-04-22T17:04:40Z</dc:date>
    </item>
    <item>
      <title>Re: Navigation bar text size adjustment</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Navigation-bar-text-size-adjustment/m-p/430556#M22678</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/184468"&gt;@SOxley&lt;/a&gt;,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;couldn't find it in the marketplace. Could you please provide a preview link for best possible help?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If it's the default menu you should be able to search for following class in your CSS file&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;.hs-menu-wrapper&amp;gt;ul&amp;gt;li&lt;/LI-CODE&gt;
&lt;P&gt;(maybe there are spaces between the brackets)&lt;/P&gt;
&lt;P&gt;there you should find a font-size option like this:&lt;/P&gt;
&lt;LI-CODE lang="css"&gt;.hs-menu-wrapper&amp;gt;ul&amp;gt;li{
font-size: 16px {# replace with desired font-size #}
}&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Change it to your desire, save the file and (cache clear) refresh the page.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;(Hard refresh in Chrome: STRG+Shift+R)&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;If you shouldn't find it add the code above at the very bottom of your CSS file.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;best,&lt;/P&gt;
&lt;P&gt;Anton&lt;/P&gt;</description>
      <pubDate>Thu, 22 Apr 2021 17:19:13 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Navigation-bar-text-size-adjustment/m-p/430556#M22678</guid>
      <dc:creator>Anton</dc:creator>
      <dc:date>2021-04-22T17:19:13Z</dc:date>
    </item>
    <item>
      <title>Re: Navigation bar text size adjustment</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Navigation-bar-text-size-adjustment/m-p/430557#M22679</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/13982"&gt;@dennisedson&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/184468"&gt;@SOxley&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So the font size of the navigation is adjusted with the body font size in the typography settings. That's probably not ideal if you wanted the navigation size to be different. But I assume it was coded that way to keep it nicely scaled and consistent.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Screen Shot 2021-04-22 at 1.21.05 PM.png" style="width: 183px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/41409i3570044D620E6954/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screen Shot 2021-04-22 at 1.21.05 PM.png" alt="Screen Shot 2021-04-22 at 1.21.05 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you wanted to adjust the font size manually you can add this to your custom css and change the font-size to your liking.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="css"&gt;.header__menu .header__navigation .menu-link {
font-size: 16px;
}&lt;/LI-CODE&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;</description>
      <pubDate>Thu, 22 Apr 2021 17:21:52 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Navigation-bar-text-size-adjustment/m-p/430557#M22679</guid>
      <dc:creator>jonchim</dc:creator>
      <dc:date>2021-04-22T17:21:52Z</dc:date>
    </item>
    <item>
      <title>Re: Navigation bar text size adjustment</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Navigation-bar-text-size-adjustment/m-p/430632#M22690</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/55480"&gt;@jonchim&lt;/a&gt; , I noticed that this was already set in the css.&amp;nbsp; Actually, I believe it was set exactly as you have that code block &lt;span class="lia-unicode-emoji" title=":astonished_face:"&gt;😲&lt;/span&gt;. &amp;nbsp;&lt;/P&gt;
&lt;P&gt;Unfortunatly, I am pretty sure it will have to be updated in the css and the body font size would not have any affect &lt;span class="lia-unicode-emoji" title=":sad_but_relieved_face:"&gt;😥&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Apr 2021 20:21:44 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Navigation-bar-text-size-adjustment/m-p/430632#M22690</guid>
      <dc:creator>dennisedson</dc:creator>
      <dc:date>2021-04-22T20:21:44Z</dc:date>
    </item>
    <item>
      <title>Re: Navigation bar text size adjustment</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Navigation-bar-text-size-adjustment/m-p/430773#M22699</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/13982"&gt;@dennisedson&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/55480"&gt;@jonchim&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/17186"&gt;@Anton&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your replies and for trying to help. Still having some trouble unfortunately. Support has also got back to me with advice on the changing the header font size in the css file. It doesn't seem to be having an impact. I've taken some screenshots to show what I've done as I'm hoping I'm simply missing something in the code.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Support suggested I change the font-size in the _header.css file. It was originally 12px so I tried changing it to 22px to see what happens.&amp;nbsp;&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="header css file font size.JPG" style="width: 777px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/41445iC19AE433BD4329DE/image-size/large?v=v2&amp;amp;px=999" role="button" title="header css file font size.JPG" alt="header css file font size.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;My header menu font size appear to remain the same size as before:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Header nav text after change - no change.JPG" style="width: 457px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/41448i985A682F6EB5F597/image-size/large?v=v2&amp;amp;px=999" role="button" title="Header nav text after change - no change.JPG" alt="Header nav text after change - no change.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I went to the "_default.modules.css" (The only default file I spotted but not really sure what I'm looking at or for...) and found a ".hs-menu-wrapper ul", couldn't find "li" though. I added the code where I thought it was meant to go, but still no luck.&amp;nbsp;&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="default css font size file.JPG" style="width: 565px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/41447i26101814B0F9A17D/image-size/large?v=v2&amp;amp;px=999" role="button" title="default css font size file.JPG" alt="default css font size file.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I also tried changing the coe to be {# replace font size with desired font size 20px} to see if I was simply not using the code properly but also hasn't worked.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any advice would be greatly appreciated. Thanks very much&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Apr 2021 09:00:30 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Navigation-bar-text-size-adjustment/m-p/430773#M22699</guid>
      <dc:creator>SOxley</dc:creator>
      <dc:date>2021-04-23T09:00:30Z</dc:date>
    </item>
    <item>
      <title>Re: Navigation bar text size adjustment</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Navigation-bar-text-size-adjustment/m-p/430813#M22701</link>
      <description>&lt;P&gt;I may be using the themes incorrectly. I've been able to do a lot of work using the Martech theme. (One of Hubspot's six free themes)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I had been making copies of it to make changes but with little success until a member of support told me how to very easily make changes within the Martech theme.&amp;nbsp;&lt;/P&gt;&lt;P&gt;All of my website pages are connected to this modified Martech theme. And I have far too many theme copies that I can't remove so if there's a way to change the css file of my default and modified Martech theme that would be great.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your help.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Apr 2021 09:57:20 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Navigation-bar-text-size-adjustment/m-p/430813#M22701</guid>
      <dc:creator>SOxley</dc:creator>
      <dc:date>2021-04-23T09:57:20Z</dc:date>
    </item>
    <item>
      <title>Re: Navigation bar text size adjustment</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Navigation-bar-text-size-adjustment/m-p/430821#M22702</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/13982"&gt;@dennisedson&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've looked a bit further into this and the font size can be changed with the solutions suggested by&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/17186"&gt;@Anton&lt;/a&gt;&amp;nbsp;but this leads me to a new and bigger problem.&amp;nbsp;&lt;/P&gt;&lt;P&gt;My whole website is built using one theme, Martech that isn't adjustable, which I didn't realise or understand when I started building my website. (Might be a good FYI for other none developers who join). I know need to change all my changes to a new theme without losing any of my copy, images, spacing, settings etc.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way to do this without having to start from scratch?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sarah&lt;/P&gt;</description>
      <pubDate>Fri, 23 Apr 2021 10:27:18 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Navigation-bar-text-size-adjustment/m-p/430821#M22702</guid>
      <dc:creator>SOxley</dc:creator>
      <dc:date>2021-04-23T10:27:18Z</dc:date>
    </item>
    <item>
      <title>Re: Navigation bar text size adjustment</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Navigation-bar-text-size-adjustment/m-p/431565#M22733</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/184468"&gt;@SOxley&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would test in the &lt;A href="https://knowledge.hubspot.com/website-pages/redesign-and-relaunch-your-site-with-content-staging" target="_blank" rel="noopener"&gt;content staging.&lt;/A&gt;&amp;nbsp; This will basically clone the page and put the copy in a safe place where you can fiddle away with a new features.&lt;/P&gt;
&lt;P&gt;PS -- annoyed that &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/17186"&gt;@Anton&lt;/a&gt; 's solution worked and the one I suggested to support didn't&lt;/P&gt;
&lt;P&gt;Pretty sure Anton cheated &lt;span class="lia-unicode-emoji" title=":face_with_tongue:"&gt;😛&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Apr 2021 20:26:23 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Navigation-bar-text-size-adjustment/m-p/431565#M22733</guid>
      <dc:creator>dennisedson</dc:creator>
      <dc:date>2021-04-26T20:26:23Z</dc:date>
    </item>
    <item>
      <title>Re: Navigation bar text size adjustment</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Navigation-bar-text-size-adjustment/m-p/431682#M22740</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/184468"&gt;@SOxley&lt;/a&gt;,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Personally I'm a big fan of creating complete custom themes but this can take a lot of time(and money).&lt;BR /&gt;I think the easiest solution would be to modify the fields.json file of martech(finally found it; thanks for pointing out that it's a free theme &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;).&lt;BR /&gt;I will write a "guide" later today, ok?&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;BR /&gt;&lt;BR /&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/13982"&gt;@dennisedson&lt;/a&gt; -&amp;nbsp;I'm not cheating&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":grinning_face_with_big_eyes:"&gt;😃&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Apr 2021 07:34:30 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Navigation-bar-text-size-adjustment/m-p/431682#M22740</guid>
      <dc:creator>Anton</dc:creator>
      <dc:date>2021-04-27T07:34:30Z</dc:date>
    </item>
    <item>
      <title>Re: Navigation bar text size adjustment</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Navigation-bar-text-size-adjustment/m-p/431742#M22741</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/13982"&gt;@dennisedson&lt;/a&gt;. Sounds like a safe option.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I never knew you could cheat with code, but maybe you can&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":face_with_tears_of_joy:"&gt;😂&lt;/span&gt;&lt;span class="lia-unicode-emoji" title=":beaming_face_with_smiling_eyes:"&gt;😁&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Apr 2021 09:21:32 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Navigation-bar-text-size-adjustment/m-p/431742#M22741</guid>
      <dc:creator>SOxley</dc:creator>
      <dc:date>2021-04-27T09:21:32Z</dc:date>
    </item>
    <item>
      <title>Re: Navigation bar text size adjustment</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Navigation-bar-text-size-adjustment/m-p/431744#M22742</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/17186"&gt;@Anton&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think I've learnt that custom themes are a good plan, just not something I originally knew I needed. Hence the pickle&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":rolling_on_the_floor_laughing:"&gt;🤣&lt;/span&gt;&lt;/P&gt;&lt;P&gt;If modifying the fields.json file saves copy and pasting all my pages to the modified theme, that would be a huge help. And a guide would be very kind of you.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks so much for the support&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Apr 2021 09:24:45 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Navigation-bar-text-size-adjustment/m-p/431744#M22742</guid>
      <dc:creator>SOxley</dc:creator>
      <dc:date>2021-04-27T09:24:45Z</dc:date>
    </item>
    <item>
      <title>Re: Navigation bar text size adjustment</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Navigation-bar-text-size-adjustment/m-p/431898#M22749</link>
      <description>&lt;P&gt;Although &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/17186"&gt;@Anton&lt;/a&gt; is a big cheater, he is a pretty good guy &lt;span class="lia-unicode-emoji" title=":grinning_cat_face:"&gt;😺&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Apr 2021 14:21:55 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Navigation-bar-text-size-adjustment/m-p/431898#M22749</guid>
      <dc:creator>dennisedson</dc:creator>
      <dc:date>2021-04-27T14:21:55Z</dc:date>
    </item>
    <item>
      <title>Re: Navigation bar text size adjustment</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Navigation-bar-text-size-adjustment/m-p/432028#M22757</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/184468"&gt;@SOxley&lt;/a&gt;,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I've read a few older posts - you've done everything right except for one small thing. You've modified the _default-modules.css. Almost everything what's inside the "underscoreFILENAME.css" files will be overwritten by the "theme-override.css". So you'll have two options to edit this file:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;place the code I've posted in the first post at the very bottom of it (You'll most likely will lose the ability to change the navigation font-size in the theme-settings)&lt;/LI&gt;
&lt;LI&gt;go the "developer route" by modifying the fields.json&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;as promissed - here's a "guide" how to modify the fields.json file:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Always create backups of files you're modifying.&lt;/STRONG&gt; HubSpot got a good revision function but "better safe than sorry". If you don't use the CLI function simply create a new file in any Coding program(free ones: &lt;A style="background-color: #ffffff;" href="https://atom.io/" target="_blank" rel="noopener"&gt;atom.io&lt;/A&gt;, &lt;A style="background-color: #ffffff;" href="https://code.visualstudio.com/" target="_blank" rel="noopener"&gt;visual studio code&lt;/A&gt;,&amp;nbsp;&lt;A style="background-color: #ffffff;" href="https://www.sublimetext.com/" target="_blank" rel="noopener"&gt;sublime&lt;/A&gt;, &lt;A style="background-color: #ffffff;" href="http://brackets.io/" target="_blank" rel="noopener"&gt;brackets(soon will be implemented in Visual Studio Code)&lt;/A&gt;&amp;nbsp; ) or the editor(on Windows), copy/paste everything from HubSpots Design-Manager into the file, save it.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To implement a new "function" into martech theme you'll need to make it editable by cloning it and modify following files:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;fields.json&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;So lets start:&lt;/STRONG&gt;&lt;BR /&gt;To have it all organized I recommend to put the "navigation font-size" into the navigation "folder". To do this search for this part in the fields.json file(starts on line 2177):&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;"label": "Website header",
        "name": "header",
        "type": "group",
        "children": [
          {
            "label": "Menu",
            "name": "menu",
            "type": "group",
            "children": [
              {
                "label": "Primary",
                "name": "primary",
                "type": "group",
                "children": [
                  {
                    "label": "Font",
                    "name": "font",
                    "type": "font",
                    "inherited_value": {
                      "property_value_paths": {
                        "fallback": "theme.fonts.primary.fallback",
                        "font": "theme.fonts.primary.font",
                        "font_set": "theme.fonts.primary.font_set",
                        "size": "theme.global.typography.body_font.font.size",
                        "size_unit": "theme.global.typography.body_font.font.size_unit",
                        "variant": "theme.fonts.primary.variant"
                      }
                    },
                    "default": {
                      "color": "#FFFFFF"
                    }
                  },&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;and add a new font-size value to it. It should look like this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;"label": "Website header",
    "name": "header",
    "type": "group",
    "children": [
        {
        "label": "Menu",
        "name": "menu",
        "type": "group",
        "children": [
            {
            "label": "Primary",
            "name": "primary",
            "type": "group",
            "children": [
                {
                "label": "Navigation link size",
                "name": "nav_size",
                "type": "number",
                "min" : 1,
                "max" : 30,
                "step" : 1,
                "default": 16
                },{
                "label": "Font",
                "name": "font",
                "type": "font",
                "inherited_value": {
                    "property_value_paths": {
                    "fallback": "theme.fonts.primary.fallback",
                    "font": "theme.fonts.primary.font",
                    "font_set": "theme.fonts.primary.font_set",
                    "size_unit": "theme.global.typography.body_font.font.size_unit",
                    "variant": "theme.fonts.primary.variant"
                    }
                },
                "default": {
                    "color": "#FFFFFF"
                }
                },&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I've added a new number option and "connected" it to the size option. Also I've deleted the "file_size" option.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Save the file and open theme-overrides.css&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;changes in theme-overrides.css&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;the first 244 lines are containing every setting from the fields.json. Search for&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;/* 1m. Site Header */

{% set header_bg_color = color(theme.global.header.bg_color.color) %}
{% set header_border = theme.global.header.border.width ~ 'px' ~ ' ' ~ theme.global.header.border.style ~ ' ' ~ theme.global.header.border.color.color %}
{% set header_content_color = theme.global.header.font_color.color.color %}

{% set header_primary_nav_font = theme.global.header.menu.primary.font %}
{% set header_primary_nav_text_transform = theme.global.header.menu.primary.text_transform %}
{% set header_primary_nav_font_hover = theme.global.header.menu.primary.hover.font %}
{% set header_primary_nav_bg_color_hover = color(theme.global.header.menu.primary.hover.bg_color) %}
{% set header_primary_nav_font_active = theme.global.header.menu.primary.active.font %}
{% set header_primary_nav_bg_color_active = color(theme.global.header.menu.primary.active.bg_color) %}

{% set header_child_nav_font = theme.global.header.menu.child.font %}
{% set header_child_nav_text_transform = theme.global.header.menu.child.text_transform %}
{% set header_child_nav_font_hover = theme.global.header.menu.child.hover.font %}
{% set header_child_nav_bg_color_hover = color(theme.global.header.menu.child.hover.bg_color) %}
{% set header_child_nav_font_active = theme.global.header.menu.child.active.font %}
{% set header_child_nav_bg_color_active = color(theme.global.header.menu.child.active.bg_color) %}&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;(it start on line 203)&lt;/P&gt;
&lt;P&gt;modify it like this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;/* 1m. Site Header */

{% set header_bg_color = color(theme.global.header.bg_color.color) %}
{% set header_border = theme.global.header.border.width ~ 'px' ~ ' ' ~ theme.global.header.border.style ~ ' ' ~ theme.global.header.border.color.color %}
{% set header_content_color = theme.global.header.font_color.color.color %}

{% set header_primary_nav_font = theme.global.header.menu.primary.font %}
{% set header_primary_nav_size = theme.global.header.menu.primary.nav_size ~ header_primary_nav_font.size_unit  %} {# this one takes the value you're entering in the new field #}
{% set header_primary_nav_text_transform = theme.global.header.menu.primary.text_transform %}
{% set header_primary_nav_font_hover = theme.global.header.menu.primary.hover.font %}
{% set header_primary_nav_bg_color_hover = color(theme.global.header.menu.primary.hover.bg_color) %}
{% set header_primary_nav_font_active = theme.global.header.menu.primary.active.font %}
{% set header_primary_nav_bg_color_active = color(theme.global.header.menu.primary.active.bg_color) %}

{% set header_child_nav_font = theme.global.header.menu.child.font %}
{% set header_child_nav_text_transform = theme.global.header.menu.child.text_transform %}
{% set header_child_nav_font_hover = theme.global.header.menu.child.hover.font %}
{% set header_child_nav_bg_color_hover = color(theme.global.header.menu.child.hover.bg_color) %}
{% set header_child_nav_font_active = theme.global.header.menu.child.active.font %}
{% set header_child_nav_bg_color_active = color(theme.global.header.menu.child.active.bg_color) %}&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;great - now you can "use" this value where ever you want/need!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;now you have to place it into the correct place. To do this search for&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="css"&gt;.header__menu .header__navigation .menu-link {
  {{ header_primary_nav_font.style }};
  color: {{ header_primary_nav_font.color }};
  font-size: {{ header_primary_nav_font.size ~ header_primary_nav_font.size_unit }};
  text-transform: {{ header_primary_nav_text_transform }};
}&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;and change it to this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="css"&gt;.header__menu .header__navigation .menu-link {
  {{ header_primary_nav_font.style }};
  color: {{ header_primary_nav_font.color }};
  font-size: {{ header_primary_nav_size }};
  text-transform: {{ header_primary_nav_text_transform }};
}&lt;/LI-CODE&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;P&gt;This is the "modifying/creating a theme 101".&lt;/P&gt;
&lt;P&gt;Summarised:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Add a &lt;A href="https://developers.hubspot.com/docs/cms/building-blocks/module-theme-fields" target="_blank" rel="noopener"&gt;new function&lt;/A&gt; to the fields.json&lt;/LI&gt;
&lt;LI&gt;Set it to your theme-override.css&lt;/LI&gt;
&lt;LI&gt;put the hubl into the desired CSS place&lt;/LI&gt;
&lt;/UL&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;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Apr 2021 17:05:52 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Navigation-bar-text-size-adjustment/m-p/432028#M22757</guid>
      <dc:creator>Anton</dc:creator>
      <dc:date>2021-04-27T17:05:52Z</dc:date>
    </item>
    <item>
      <title>Re: Navigation bar text size adjustment</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Navigation-bar-text-size-adjustment/m-p/432624#M22783</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/17186"&gt;@Anton&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks so much for this very useful guide. The step by step overview os going to be a life saver. I appreciate you putting in the time to put this together.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm going to give this a try and will report back asap.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again and have a lovely day,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sarah&lt;/P&gt;</description>
      <pubDate>Thu, 29 Apr 2021 07:53:21 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Navigation-bar-text-size-adjustment/m-p/432624#M22783</guid>
      <dc:creator>SOxley</dc:creator>
      <dc:date>2021-04-29T07:53:21Z</dc:date>
    </item>
  </channel>
</rss>

