title: Flexbox Bootstrap 4 Navbar with additional content vertical aligned and always visible
body: <p><strong>The challenge:</strong> create a nav bar that has a brand logo on the left with the navbar-collapse menu and some other call to action/link above it on the right, and have them all vertically positioned. </p>
  
  <p><a href="https://i.stack.imgur.com/nvze2.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/nvze2.png" alt="Layout on large screens"></a></p>
  
  <p>Seems straight forward, until you want the mobile to look like this:</p>
  
  <p><a href="https://i.stack.imgur.com/6Zle9.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/6Zle9.png" alt="enter image description here"></a></p>
  
  <p>How can we achieve this with good responsive css (no negative margins/absolute positioning techniques) and no JS?</p>
  
  <p>I've only come up with the option of printing the Phone number twice on the page, and hiding/showing for various screen sizes:</p>
  
  <pre><code>&lt;header&gt;
    &lt;div class="content-above-navbar container"&gt;
      &lt;div class="row d-md-none flex-row-reverse"&gt;
        &lt;div class="col-auto ml-3"&gt;&lt;span class="navbar-text"&gt;800-BS4-WEBS&lt;/span&gt;&lt;/div&gt;
        &lt;div class="col-auto p-0"&gt;&lt;span class="navbar-text"&gt;&lt;a href="#"&gt;Contact Us&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;
    &lt;nav class="navbar navbar-expand-md navbar-light bg-light"&gt;
      &lt;div class="container"&gt; 
  
          &lt;a class="navbar-brand" href="Bootstrap 4 Navbar"&gt;Bootstrap 4 Navbar&lt;/a&gt;
  
        &lt;button class="navbar-toggler collapsed" type="button" data-toggle="collapse" data-target="#all-pages-176" aria-controls="all-pages-176" aria-expanded="false" aria-label="Toggle navigation"&gt; &lt;span class="navbar-toggler-icon"&gt;&lt;/span&gt; &lt;/button&gt;
  
         &lt;div id="all-pages-176" class="navbar-collapse has-content-above collapse"&gt;
          &lt;div class="content-above-nav-menu"&gt;
            &lt;div class="float-md-right ml-md-3 d-none d-md-block"&gt;&lt;span class="navbar-text"&gt;800-BS4-WEBS&lt;/span&gt;&lt;/div&gt;
            &lt;div class="float-md-right d-none d-md-block"&gt;&lt;span class="navbar-text"&gt;&lt;a href="#"&gt;Contact Us&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
          &lt;/div&gt;
          &lt;ul id="menu-all-pages" class="navbar-nav ml-auto"&gt;
            &lt;li id="menu-item-1700" class="nav-item active"&gt;&lt;a href="/sample-page/" class="nav-link active"&gt;Sample Page&lt;/a&gt;&lt;/li&gt;
            &lt;li id="menu-item-1701" class="nav-item"&gt;&lt;a href="/about/page-markup-and-formatting/" class="nav-link"&gt;Page Markup And Formatting&lt;/a&gt;&lt;/li&gt;
            &lt;li id="menu-item-1702" class="nav-item"&gt;&lt;a href="/about/page-image-alignment/" class="nav-link"&gt;Page Image Alignment&lt;/a&gt;&lt;/li&gt;
            &lt;li id="menu-item-1705" class="nav-item"&gt;&lt;a href="/level-1/" class="nav-link"&gt;Level 1&lt;/a&gt;&lt;/li&gt;
          &lt;/ul&gt;
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/nav&gt;
  &lt;/header&gt;
  </code></pre>
  
  <p>There's a tiny bit of custom css to make the non-menu info stack up a row and move to the right. See the fiddle link:</p>
  
  <p><a href="https://jsfiddle.net/Nicscott01/07xhn4vy/1/" rel="nofollow noreferrer">Here's a Fiddle</a> </p>
  
  <p>Other markups work for one screen size, but not the other. </p>
  
  <p>Is anybody seeing a solution to this that can be achieved w/ a relatively flat markup?</p>