<?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 Custom HTML/CSS header menu behaviour in ArcGIS Hub Questions</title>
    <link>https://community.esri.com/t5/arcgis-hub-questions/custom-html-css-header-menu-behaviour/m-p/63060#M277</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to use the custom&amp;nbsp;&lt;SPAN style="color: #4c4c4c; background-color: #ffffff; font-weight: 500;"&gt;HTML/CSS header option to make some small cosmetic changes to my site's header, but when I do I've noticed it changes the behaviour of the navbar menu on smaller screens/devices.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4c4c4c; background-color: #ffffff; font-weight: 500;"&gt;When using the out-of-the-box 'prominent' header option the menu appears as a single option at the top of the screen when viewed on small screen.&amp;nbsp; Clicking on the menu opens it up with all the link items listed beneath and it is visible all the time.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4c4c4c; background-color: #ffffff; font-weight: 500;"&gt; However when you switch to the&amp;nbsp;&lt;SPAN style="color: #3d3d3d; font-weight: 400;"&gt;custom&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #4c4c4c; background-color: #ffffff; font-weight: 500;"&gt;HTML/CSS header option the menu you effectively get the expanded menu all the time (although it is only visible at the top of the page or if you scroll up).&amp;nbsp; When it is visible it takes up a lot of screen space - especially if you have lots of links in&amp;nbsp;your menu.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #4c4c4c; font-weight: 500; "&gt;Is there anyway to get the default behaviour when using the custom option?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #4c4c4c; font-weight: 500; "&gt;&lt;IMG alt="" class="jive-emoji image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/469545_Hub1.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 28 Oct 2019 13:09:47 GMT</pubDate>
    <dc:creator>ColinCampbell</dc:creator>
    <dc:date>2019-10-28T13:09:47Z</dc:date>
    <item>
      <title>Custom HTML/CSS header menu behaviour</title>
      <link>https://community.esri.com/t5/arcgis-hub-questions/custom-html-css-header-menu-behaviour/m-p/63060#M277</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to use the custom&amp;nbsp;&lt;SPAN style="color: #4c4c4c; background-color: #ffffff; font-weight: 500;"&gt;HTML/CSS header option to make some small cosmetic changes to my site's header, but when I do I've noticed it changes the behaviour of the navbar menu on smaller screens/devices.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4c4c4c; background-color: #ffffff; font-weight: 500;"&gt;When using the out-of-the-box 'prominent' header option the menu appears as a single option at the top of the screen when viewed on small screen.&amp;nbsp; Clicking on the menu opens it up with all the link items listed beneath and it is visible all the time.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4c4c4c; background-color: #ffffff; font-weight: 500;"&gt; However when you switch to the&amp;nbsp;&lt;SPAN style="color: #3d3d3d; font-weight: 400;"&gt;custom&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #4c4c4c; background-color: #ffffff; font-weight: 500;"&gt;HTML/CSS header option the menu you effectively get the expanded menu all the time (although it is only visible at the top of the page or if you scroll up).&amp;nbsp; When it is visible it takes up a lot of screen space - especially if you have lots of links in&amp;nbsp;your menu.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #4c4c4c; font-weight: 500; "&gt;Is there anyway to get the default behaviour when using the custom option?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #4c4c4c; font-weight: 500; "&gt;&lt;IMG alt="" class="jive-emoji image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/469545_Hub1.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Oct 2019 13:09:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-hub-questions/custom-html-css-header-menu-behaviour/m-p/63060#M277</guid>
      <dc:creator>ColinCampbell</dc:creator>
      <dc:date>2019-10-28T13:09:47Z</dc:date>
    </item>
    <item>
      <title>Re: Custom HTML/CSS header menu behaviour</title>
      <link>https://community.esri.com/t5/arcgis-hub-questions/custom-html-css-header-menu-behaviour/m-p/63061#M278</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Colin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately, at this time it is not possible for us to take your custom code and&amp;nbsp;render the mobile menu that you'd get if you were using one of&amp;nbsp;our pre-designed&amp;nbsp;layouts. Using the Custom Header option&amp;nbsp;means that you get to&amp;nbsp;set the look, but it also means that we're hands-off on controlling the layout at the different breakpoints.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, our app uses Bootstrap, so if you structure your custom header the way they suggest in their documentation, you can have a menu that toggles on/off via a burger icon and it doesn't have to start expanded. Based on your screenshot, it looks like you might have deleted the part of their code that does this for you though. If you take a look at my response to Nataliya (bullet point #2):&amp;nbsp;&lt;A _jive_internal="true" class="link-titled" href="https://community.esri.com/thread/237973-hub-site-custom-header#comment" title="https://community.esri.com/thread/237973-hub-site-custom-header#comment-869561"&gt;https://community.esri.com/thread/237973-hub-site-custom-header#comment-869561&lt;/A&gt;&amp;nbsp;you can read more about&amp;nbsp;how to correctly structure your custom header to handle responsive layouts automatically.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Oct 2019 13:42:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-hub-questions/custom-html-css-header-menu-behaviour/m-p/63061#M278</guid>
      <dc:creator>KlaraSchmitt</dc:creator>
      <dc:date>2019-10-28T13:42:18Z</dc:date>
    </item>
  </channel>
</rss>

