<?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 Button alignment in ArcGIS Hub Questions</title>
    <link>https://community.esri.com/t5/arcgis-hub-questions/button-alignment/m-p/1144014#M5076</link>
    <description>&lt;P&gt;Greetings all&lt;/P&gt;&lt;P&gt;I've created a list of buttons with dropdowns using custom html in a text card, but alignment seems to be a problem when viewing on different screen sizes. Also, I'd prefer that they be centered. Am I missing something in the code that'd eliminate the problem? I'm using Hub Basic.&lt;/P&gt;</description>
    <pubDate>Tue, 15 Feb 2022 13:08:41 GMT</pubDate>
    <dc:creator>KevinKhosa</dc:creator>
    <dc:date>2022-02-15T13:08:41Z</dc:date>
    <item>
      <title>Button alignment</title>
      <link>https://community.esri.com/t5/arcgis-hub-questions/button-alignment/m-p/1144014#M5076</link>
      <description>&lt;P&gt;Greetings all&lt;/P&gt;&lt;P&gt;I've created a list of buttons with dropdowns using custom html in a text card, but alignment seems to be a problem when viewing on different screen sizes. Also, I'd prefer that they be centered. Am I missing something in the code that'd eliminate the problem? I'm using Hub Basic.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Feb 2022 13:08:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-hub-questions/button-alignment/m-p/1144014#M5076</guid>
      <dc:creator>KevinKhosa</dc:creator>
      <dc:date>2022-02-15T13:08:41Z</dc:date>
    </item>
    <item>
      <title>Re: Button alignment</title>
      <link>https://community.esri.com/t5/arcgis-hub-questions/button-alignment/m-p/1149147#M5100</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/561291"&gt;@KevinKhosa&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;You don't have much CSS specified and it looks like you may be using Bootstrap classes. This is Hub's underlying framework, but you'd probably need to put these buttons into a &lt;STRONG&gt;.navbar&lt;/STRONG&gt; to have different sized devices handled automatically.&amp;nbsp;&lt;/P&gt;&lt;P&gt;You might find one of these two samples helpful as a starting point for center-aligning navbar links:&lt;BR /&gt;&lt;A href="https://www.codeply.com/go/1lrdvNH9GI/bootstrap-3-center-navbar-brand-and-links" target="_blank"&gt;https://www.codeply.com/go/1lrdvNH9GI/bootstrap-3-center-navbar-brand-and-links&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://codepen.io/davidcochran/pen/LYPrPr" target="_blank"&gt;https://codepen.io/davidcochran/pen/LYPrPr&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I'd definitely start by wrapping all your buttons in a uniquely-named container. This will help you if you need to write any custom media-queries around placement and sizing. I can give you a Bootstrap class that will help you center your row of dropdown buttons, but it won't automatically handle how this looks on different devices. You may need to research media-queries for that if you don't use the&amp;nbsp;&lt;STRONG&gt;.navbar&lt;/STRONG&gt; classes.&amp;nbsp;But to just center the buttons, you can put &lt;STRONG&gt;.text-center&lt;/STRONG&gt; on the container wrapping around the buttons.&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;lt;div class="my-row-of-buttons text-center"&amp;gt;&lt;BR /&gt;&amp;nbsp; [all button code goes here]&lt;BR /&gt;&amp;lt;/div&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Mar 2022 16:17:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-hub-questions/button-alignment/m-p/1149147#M5100</guid>
      <dc:creator>KlaraSchmitt</dc:creator>
      <dc:date>2022-03-01T16:17:03Z</dc:date>
    </item>
    <item>
      <title>Re: Button alignment</title>
      <link>https://community.esri.com/t5/arcgis-hub-questions/button-alignment/m-p/1151148#M5124</link>
      <description>&lt;P&gt;Thanks, Klara&lt;/P&gt;</description>
      <pubDate>Mon, 07 Mar 2022 07:20:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-hub-questions/button-alignment/m-p/1151148#M5124</guid>
      <dc:creator>KevinKhosa</dc:creator>
      <dc:date>2022-03-07T07:20:48Z</dc:date>
    </item>
  </channel>
</rss>

