Making responsive navigation bar









up vote
0
down vote

favorite












I am having some trouble about turning navigation bar to responsive navigation. My toggle and navigation positioning not working quite well. The example of the site is down below. I am not quite sure what is the missing part?






<script type="text/javascript">
function myFunction()
var x = document.getElementById("myTopnav");
if (x.className === "gnav")
x.className += " responsive";
else
x.className = "gnav";



</script>

#header .gnav 
position: relative;
left: 0;
bottom: 0;
z-index: 1000;
width: 587px;
height: 75px;
overflow: hidden; /**/


.gnav a
float: left;
display: block;


.gnav .icon
display: none;



#header .gnav h1
float: left;

#header .gnav ul
float: left;
width: 351px;

#header .gnav li
float: left;


#ul_menu
/*
position:relative;
width:400px;
list-style:none;
text-align:center;
top:100px;
*/

#ul_menu li
/*
width:200px;
float:left;
*/
position:relative;

#ul_menu li a
/*
width:198px;
background:#EE0088;
float:none;
height:30px;
display:block;
border:1px solid #FCF;
color:#FFF;
*/

#header .gnav li .sub_list
position: absolute;
bottom: 28px;
left: 0;
width: 140px;
padding: 10px 0 0 0;
background: #1e2d68;

#header .gnav li .sub_list li
float: none;
padding: 0 5px 10px 20px;
background: #1e2d68;
color: #fff;
font-size: 11px

#header .gnav li .sub_list li a
color: #fff;

#header .gnav li .sub_list.sub01
width: 100px;


@media screen and (max-width: 600px)
.gnav a:not(:first-child) display: none;
.gnav .icon
float: right;
display: block;



@media screen and (max-width: 600px)
.gnav.responsive position: relative;
.gnav.responsive a.icon
position: absolute;
right: 0;
top: 0;

.gnav.responsive a
float: none;
display: block;
text-align: left;


<div class="gnav clearfix" id="myTopnav">
<h1><a href="index.html"><img src="images/index/logo.gif" width="236" height="75" alt="株式会社ジェイウィル J-WILL CORPORATION"></a></h1>
<ul id="ul_menu" class="clearfix">
<li><a href="index.html"><img src="images/common/gnav01.gif" width="111" height="38" alt="HOME"></a></li>
<li>
<a href="company/index.html"><img src="images/common/gnav02.gif" width="100" height="38" alt="企業情報"></a>
<ul class="sub_list sub01">
<li><a href="company/index.html">代表ご挨拶</a></li>
<li><a href="company/index.html#sc02">行動指針</a></li>
<li><a href="company/index.html#sc03">企業概要</a></li>
</ul>
</li>
<li>
<a href="business/index.html"><img src="images/common/gnav03.gif" width="140" height="38" alt="事業内容"></a>
<ul class="sub_list sub02">
<li><a href="business/index.html">ジェイウィルの強み</a></li>
<li><a href="business/index.html#sc03">販売実績</a></li>
<li><a href="business/index.html#sc06">マンション一棟<br>仲介実績</a></li>
<li><a href="business/index.html#sc02">マンション用地<br>仲介実績</a></li>
<li><a href="business/index.html#sc05">戸建用地仲介実績</a></li>
<li><a href="business/index.html#sc01">事業概要</a></li>
</ul>
</li>
<li><a href="staff/index.html"><img src="images/common/gnav04.gif" width="111" height="37" alt="社員紹介"></a></li>
<li><a href="careers/index.html"><img src="images/common/gnav05.gif" width="100" height="37" alt="採用情報"></a></li>
<li><a href="contact/"><img src="images/common/gnav06.gif" width="140" height="37" alt="お問い合わせ"></a></li>
<li><a href="javascript:void(0);" class="icon" onclick="myFunction()"><i class="fa fa-bars"></i></a></li>
</ul>
</div>





the icon is not toggling and I make the screen smaller navbar is not disappearing. the problem is media or is it something about main css? I really appreciate if any one can figure the problem is out!
Thanks for helping me out!










share|improve this question

























    up vote
    0
    down vote

    favorite












    I am having some trouble about turning navigation bar to responsive navigation. My toggle and navigation positioning not working quite well. The example of the site is down below. I am not quite sure what is the missing part?






    <script type="text/javascript">
    function myFunction()
    var x = document.getElementById("myTopnav");
    if (x.className === "gnav")
    x.className += " responsive";
    else
    x.className = "gnav";



    </script>

    #header .gnav 
    position: relative;
    left: 0;
    bottom: 0;
    z-index: 1000;
    width: 587px;
    height: 75px;
    overflow: hidden; /**/


    .gnav a
    float: left;
    display: block;


    .gnav .icon
    display: none;



    #header .gnav h1
    float: left;

    #header .gnav ul
    float: left;
    width: 351px;

    #header .gnav li
    float: left;


    #ul_menu
    /*
    position:relative;
    width:400px;
    list-style:none;
    text-align:center;
    top:100px;
    */

    #ul_menu li
    /*
    width:200px;
    float:left;
    */
    position:relative;

    #ul_menu li a
    /*
    width:198px;
    background:#EE0088;
    float:none;
    height:30px;
    display:block;
    border:1px solid #FCF;
    color:#FFF;
    */

    #header .gnav li .sub_list
    position: absolute;
    bottom: 28px;
    left: 0;
    width: 140px;
    padding: 10px 0 0 0;
    background: #1e2d68;

    #header .gnav li .sub_list li
    float: none;
    padding: 0 5px 10px 20px;
    background: #1e2d68;
    color: #fff;
    font-size: 11px

    #header .gnav li .sub_list li a
    color: #fff;

    #header .gnav li .sub_list.sub01
    width: 100px;


    @media screen and (max-width: 600px)
    .gnav a:not(:first-child) display: none;
    .gnav .icon
    float: right;
    display: block;



    @media screen and (max-width: 600px)
    .gnav.responsive position: relative;
    .gnav.responsive a.icon
    position: absolute;
    right: 0;
    top: 0;

    .gnav.responsive a
    float: none;
    display: block;
    text-align: left;


    <div class="gnav clearfix" id="myTopnav">
    <h1><a href="index.html"><img src="images/index/logo.gif" width="236" height="75" alt="株式会社ジェイウィル J-WILL CORPORATION"></a></h1>
    <ul id="ul_menu" class="clearfix">
    <li><a href="index.html"><img src="images/common/gnav01.gif" width="111" height="38" alt="HOME"></a></li>
    <li>
    <a href="company/index.html"><img src="images/common/gnav02.gif" width="100" height="38" alt="企業情報"></a>
    <ul class="sub_list sub01">
    <li><a href="company/index.html">代表ご挨拶</a></li>
    <li><a href="company/index.html#sc02">行動指針</a></li>
    <li><a href="company/index.html#sc03">企業概要</a></li>
    </ul>
    </li>
    <li>
    <a href="business/index.html"><img src="images/common/gnav03.gif" width="140" height="38" alt="事業内容"></a>
    <ul class="sub_list sub02">
    <li><a href="business/index.html">ジェイウィルの強み</a></li>
    <li><a href="business/index.html#sc03">販売実績</a></li>
    <li><a href="business/index.html#sc06">マンション一棟<br>仲介実績</a></li>
    <li><a href="business/index.html#sc02">マンション用地<br>仲介実績</a></li>
    <li><a href="business/index.html#sc05">戸建用地仲介実績</a></li>
    <li><a href="business/index.html#sc01">事業概要</a></li>
    </ul>
    </li>
    <li><a href="staff/index.html"><img src="images/common/gnav04.gif" width="111" height="37" alt="社員紹介"></a></li>
    <li><a href="careers/index.html"><img src="images/common/gnav05.gif" width="100" height="37" alt="採用情報"></a></li>
    <li><a href="contact/"><img src="images/common/gnav06.gif" width="140" height="37" alt="お問い合わせ"></a></li>
    <li><a href="javascript:void(0);" class="icon" onclick="myFunction()"><i class="fa fa-bars"></i></a></li>
    </ul>
    </div>





    the icon is not toggling and I make the screen smaller navbar is not disappearing. the problem is media or is it something about main css? I really appreciate if any one can figure the problem is out!
    Thanks for helping me out!










    share|improve this question























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I am having some trouble about turning navigation bar to responsive navigation. My toggle and navigation positioning not working quite well. The example of the site is down below. I am not quite sure what is the missing part?






      <script type="text/javascript">
      function myFunction()
      var x = document.getElementById("myTopnav");
      if (x.className === "gnav")
      x.className += " responsive";
      else
      x.className = "gnav";



      </script>

      #header .gnav 
      position: relative;
      left: 0;
      bottom: 0;
      z-index: 1000;
      width: 587px;
      height: 75px;
      overflow: hidden; /**/


      .gnav a
      float: left;
      display: block;


      .gnav .icon
      display: none;



      #header .gnav h1
      float: left;

      #header .gnav ul
      float: left;
      width: 351px;

      #header .gnav li
      float: left;


      #ul_menu
      /*
      position:relative;
      width:400px;
      list-style:none;
      text-align:center;
      top:100px;
      */

      #ul_menu li
      /*
      width:200px;
      float:left;
      */
      position:relative;

      #ul_menu li a
      /*
      width:198px;
      background:#EE0088;
      float:none;
      height:30px;
      display:block;
      border:1px solid #FCF;
      color:#FFF;
      */

      #header .gnav li .sub_list
      position: absolute;
      bottom: 28px;
      left: 0;
      width: 140px;
      padding: 10px 0 0 0;
      background: #1e2d68;

      #header .gnav li .sub_list li
      float: none;
      padding: 0 5px 10px 20px;
      background: #1e2d68;
      color: #fff;
      font-size: 11px

      #header .gnav li .sub_list li a
      color: #fff;

      #header .gnav li .sub_list.sub01
      width: 100px;


      @media screen and (max-width: 600px)
      .gnav a:not(:first-child) display: none;
      .gnav .icon
      float: right;
      display: block;



      @media screen and (max-width: 600px)
      .gnav.responsive position: relative;
      .gnav.responsive a.icon
      position: absolute;
      right: 0;
      top: 0;

      .gnav.responsive a
      float: none;
      display: block;
      text-align: left;


      <div class="gnav clearfix" id="myTopnav">
      <h1><a href="index.html"><img src="images/index/logo.gif" width="236" height="75" alt="株式会社ジェイウィル J-WILL CORPORATION"></a></h1>
      <ul id="ul_menu" class="clearfix">
      <li><a href="index.html"><img src="images/common/gnav01.gif" width="111" height="38" alt="HOME"></a></li>
      <li>
      <a href="company/index.html"><img src="images/common/gnav02.gif" width="100" height="38" alt="企業情報"></a>
      <ul class="sub_list sub01">
      <li><a href="company/index.html">代表ご挨拶</a></li>
      <li><a href="company/index.html#sc02">行動指針</a></li>
      <li><a href="company/index.html#sc03">企業概要</a></li>
      </ul>
      </li>
      <li>
      <a href="business/index.html"><img src="images/common/gnav03.gif" width="140" height="38" alt="事業内容"></a>
      <ul class="sub_list sub02">
      <li><a href="business/index.html">ジェイウィルの強み</a></li>
      <li><a href="business/index.html#sc03">販売実績</a></li>
      <li><a href="business/index.html#sc06">マンション一棟<br>仲介実績</a></li>
      <li><a href="business/index.html#sc02">マンション用地<br>仲介実績</a></li>
      <li><a href="business/index.html#sc05">戸建用地仲介実績</a></li>
      <li><a href="business/index.html#sc01">事業概要</a></li>
      </ul>
      </li>
      <li><a href="staff/index.html"><img src="images/common/gnav04.gif" width="111" height="37" alt="社員紹介"></a></li>
      <li><a href="careers/index.html"><img src="images/common/gnav05.gif" width="100" height="37" alt="採用情報"></a></li>
      <li><a href="contact/"><img src="images/common/gnav06.gif" width="140" height="37" alt="お問い合わせ"></a></li>
      <li><a href="javascript:void(0);" class="icon" onclick="myFunction()"><i class="fa fa-bars"></i></a></li>
      </ul>
      </div>





      the icon is not toggling and I make the screen smaller navbar is not disappearing. the problem is media or is it something about main css? I really appreciate if any one can figure the problem is out!
      Thanks for helping me out!










      share|improve this question













      I am having some trouble about turning navigation bar to responsive navigation. My toggle and navigation positioning not working quite well. The example of the site is down below. I am not quite sure what is the missing part?






      <script type="text/javascript">
      function myFunction()
      var x = document.getElementById("myTopnav");
      if (x.className === "gnav")
      x.className += " responsive";
      else
      x.className = "gnav";



      </script>

      #header .gnav 
      position: relative;
      left: 0;
      bottom: 0;
      z-index: 1000;
      width: 587px;
      height: 75px;
      overflow: hidden; /**/


      .gnav a
      float: left;
      display: block;


      .gnav .icon
      display: none;



      #header .gnav h1
      float: left;

      #header .gnav ul
      float: left;
      width: 351px;

      #header .gnav li
      float: left;


      #ul_menu
      /*
      position:relative;
      width:400px;
      list-style:none;
      text-align:center;
      top:100px;
      */

      #ul_menu li
      /*
      width:200px;
      float:left;
      */
      position:relative;

      #ul_menu li a
      /*
      width:198px;
      background:#EE0088;
      float:none;
      height:30px;
      display:block;
      border:1px solid #FCF;
      color:#FFF;
      */

      #header .gnav li .sub_list
      position: absolute;
      bottom: 28px;
      left: 0;
      width: 140px;
      padding: 10px 0 0 0;
      background: #1e2d68;

      #header .gnav li .sub_list li
      float: none;
      padding: 0 5px 10px 20px;
      background: #1e2d68;
      color: #fff;
      font-size: 11px

      #header .gnav li .sub_list li a
      color: #fff;

      #header .gnav li .sub_list.sub01
      width: 100px;


      @media screen and (max-width: 600px)
      .gnav a:not(:first-child) display: none;
      .gnav .icon
      float: right;
      display: block;



      @media screen and (max-width: 600px)
      .gnav.responsive position: relative;
      .gnav.responsive a.icon
      position: absolute;
      right: 0;
      top: 0;

      .gnav.responsive a
      float: none;
      display: block;
      text-align: left;


      <div class="gnav clearfix" id="myTopnav">
      <h1><a href="index.html"><img src="images/index/logo.gif" width="236" height="75" alt="株式会社ジェイウィル J-WILL CORPORATION"></a></h1>
      <ul id="ul_menu" class="clearfix">
      <li><a href="index.html"><img src="images/common/gnav01.gif" width="111" height="38" alt="HOME"></a></li>
      <li>
      <a href="company/index.html"><img src="images/common/gnav02.gif" width="100" height="38" alt="企業情報"></a>
      <ul class="sub_list sub01">
      <li><a href="company/index.html">代表ご挨拶</a></li>
      <li><a href="company/index.html#sc02">行動指針</a></li>
      <li><a href="company/index.html#sc03">企業概要</a></li>
      </ul>
      </li>
      <li>
      <a href="business/index.html"><img src="images/common/gnav03.gif" width="140" height="38" alt="事業内容"></a>
      <ul class="sub_list sub02">
      <li><a href="business/index.html">ジェイウィルの強み</a></li>
      <li><a href="business/index.html#sc03">販売実績</a></li>
      <li><a href="business/index.html#sc06">マンション一棟<br>仲介実績</a></li>
      <li><a href="business/index.html#sc02">マンション用地<br>仲介実績</a></li>
      <li><a href="business/index.html#sc05">戸建用地仲介実績</a></li>
      <li><a href="business/index.html#sc01">事業概要</a></li>
      </ul>
      </li>
      <li><a href="staff/index.html"><img src="images/common/gnav04.gif" width="111" height="37" alt="社員紹介"></a></li>
      <li><a href="careers/index.html"><img src="images/common/gnav05.gif" width="100" height="37" alt="採用情報"></a></li>
      <li><a href="contact/"><img src="images/common/gnav06.gif" width="140" height="37" alt="お問い合わせ"></a></li>
      <li><a href="javascript:void(0);" class="icon" onclick="myFunction()"><i class="fa fa-bars"></i></a></li>
      </ul>
      </div>





      the icon is not toggling and I make the screen smaller navbar is not disappearing. the problem is media or is it something about main css? I really appreciate if any one can figure the problem is out!
      Thanks for helping me out!






      <script type="text/javascript">
      function myFunction()
      var x = document.getElementById("myTopnav");
      if (x.className === "gnav")
      x.className += " responsive";
      else
      x.className = "gnav";



      </script>

      #header .gnav 
      position: relative;
      left: 0;
      bottom: 0;
      z-index: 1000;
      width: 587px;
      height: 75px;
      overflow: hidden; /**/


      .gnav a
      float: left;
      display: block;


      .gnav .icon
      display: none;



      #header .gnav h1
      float: left;

      #header .gnav ul
      float: left;
      width: 351px;

      #header .gnav li
      float: left;


      #ul_menu
      /*
      position:relative;
      width:400px;
      list-style:none;
      text-align:center;
      top:100px;
      */

      #ul_menu li
      /*
      width:200px;
      float:left;
      */
      position:relative;

      #ul_menu li a
      /*
      width:198px;
      background:#EE0088;
      float:none;
      height:30px;
      display:block;
      border:1px solid #FCF;
      color:#FFF;
      */

      #header .gnav li .sub_list
      position: absolute;
      bottom: 28px;
      left: 0;
      width: 140px;
      padding: 10px 0 0 0;
      background: #1e2d68;

      #header .gnav li .sub_list li
      float: none;
      padding: 0 5px 10px 20px;
      background: #1e2d68;
      color: #fff;
      font-size: 11px

      #header .gnav li .sub_list li a
      color: #fff;

      #header .gnav li .sub_list.sub01
      width: 100px;


      @media screen and (max-width: 600px)
      .gnav a:not(:first-child) display: none;
      .gnav .icon
      float: right;
      display: block;



      @media screen and (max-width: 600px)
      .gnav.responsive position: relative;
      .gnav.responsive a.icon
      position: absolute;
      right: 0;
      top: 0;

      .gnav.responsive a
      float: none;
      display: block;
      text-align: left;


      <div class="gnav clearfix" id="myTopnav">
      <h1><a href="index.html"><img src="images/index/logo.gif" width="236" height="75" alt="株式会社ジェイウィル J-WILL CORPORATION"></a></h1>
      <ul id="ul_menu" class="clearfix">
      <li><a href="index.html"><img src="images/common/gnav01.gif" width="111" height="38" alt="HOME"></a></li>
      <li>
      <a href="company/index.html"><img src="images/common/gnav02.gif" width="100" height="38" alt="企業情報"></a>
      <ul class="sub_list sub01">
      <li><a href="company/index.html">代表ご挨拶</a></li>
      <li><a href="company/index.html#sc02">行動指針</a></li>
      <li><a href="company/index.html#sc03">企業概要</a></li>
      </ul>
      </li>
      <li>
      <a href="business/index.html"><img src="images/common/gnav03.gif" width="140" height="38" alt="事業内容"></a>
      <ul class="sub_list sub02">
      <li><a href="business/index.html">ジェイウィルの強み</a></li>
      <li><a href="business/index.html#sc03">販売実績</a></li>
      <li><a href="business/index.html#sc06">マンション一棟<br>仲介実績</a></li>
      <li><a href="business/index.html#sc02">マンション用地<br>仲介実績</a></li>
      <li><a href="business/index.html#sc05">戸建用地仲介実績</a></li>
      <li><a href="business/index.html#sc01">事業概要</a></li>
      </ul>
      </li>
      <li><a href="staff/index.html"><img src="images/common/gnav04.gif" width="111" height="37" alt="社員紹介"></a></li>
      <li><a href="careers/index.html"><img src="images/common/gnav05.gif" width="100" height="37" alt="採用情報"></a></li>
      <li><a href="contact/"><img src="images/common/gnav06.gif" width="140" height="37" alt="お問い合わせ"></a></li>
      <li><a href="javascript:void(0);" class="icon" onclick="myFunction()"><i class="fa fa-bars"></i></a></li>
      </ul>
      </div>





      <script type="text/javascript">
      function myFunction()
      var x = document.getElementById("myTopnav");
      if (x.className === "gnav")
      x.className += " responsive";
      else
      x.className = "gnav";



      </script>

      #header .gnav 
      position: relative;
      left: 0;
      bottom: 0;
      z-index: 1000;
      width: 587px;
      height: 75px;
      overflow: hidden; /**/


      .gnav a
      float: left;
      display: block;


      .gnav .icon
      display: none;



      #header .gnav h1
      float: left;

      #header .gnav ul
      float: left;
      width: 351px;

      #header .gnav li
      float: left;


      #ul_menu
      /*
      position:relative;
      width:400px;
      list-style:none;
      text-align:center;
      top:100px;
      */

      #ul_menu li
      /*
      width:200px;
      float:left;
      */
      position:relative;

      #ul_menu li a
      /*
      width:198px;
      background:#EE0088;
      float:none;
      height:30px;
      display:block;
      border:1px solid #FCF;
      color:#FFF;
      */

      #header .gnav li .sub_list
      position: absolute;
      bottom: 28px;
      left: 0;
      width: 140px;
      padding: 10px 0 0 0;
      background: #1e2d68;

      #header .gnav li .sub_list li
      float: none;
      padding: 0 5px 10px 20px;
      background: #1e2d68;
      color: #fff;
      font-size: 11px

      #header .gnav li .sub_list li a
      color: #fff;

      #header .gnav li .sub_list.sub01
      width: 100px;


      @media screen and (max-width: 600px)
      .gnav a:not(:first-child) display: none;
      .gnav .icon
      float: right;
      display: block;



      @media screen and (max-width: 600px)
      .gnav.responsive position: relative;
      .gnav.responsive a.icon
      position: absolute;
      right: 0;
      top: 0;

      .gnav.responsive a
      float: none;
      display: block;
      text-align: left;


      <div class="gnav clearfix" id="myTopnav">
      <h1><a href="index.html"><img src="images/index/logo.gif" width="236" height="75" alt="株式会社ジェイウィル J-WILL CORPORATION"></a></h1>
      <ul id="ul_menu" class="clearfix">
      <li><a href="index.html"><img src="images/common/gnav01.gif" width="111" height="38" alt="HOME"></a></li>
      <li>
      <a href="company/index.html"><img src="images/common/gnav02.gif" width="100" height="38" alt="企業情報"></a>
      <ul class="sub_list sub01">
      <li><a href="company/index.html">代表ご挨拶</a></li>
      <li><a href="company/index.html#sc02">行動指針</a></li>
      <li><a href="company/index.html#sc03">企業概要</a></li>
      </ul>
      </li>
      <li>
      <a href="business/index.html"><img src="images/common/gnav03.gif" width="140" height="38" alt="事業内容"></a>
      <ul class="sub_list sub02">
      <li><a href="business/index.html">ジェイウィルの強み</a></li>
      <li><a href="business/index.html#sc03">販売実績</a></li>
      <li><a href="business/index.html#sc06">マンション一棟<br>仲介実績</a></li>
      <li><a href="business/index.html#sc02">マンション用地<br>仲介実績</a></li>
      <li><a href="business/index.html#sc05">戸建用地仲介実績</a></li>
      <li><a href="business/index.html#sc01">事業概要</a></li>
      </ul>
      </li>
      <li><a href="staff/index.html"><img src="images/common/gnav04.gif" width="111" height="37" alt="社員紹介"></a></li>
      <li><a href="careers/index.html"><img src="images/common/gnav05.gif" width="100" height="37" alt="採用情報"></a></li>
      <li><a href="contact/"><img src="images/common/gnav06.gif" width="140" height="37" alt="お問い合わせ"></a></li>
      <li><a href="javascript:void(0);" class="icon" onclick="myFunction()"><i class="fa fa-bars"></i></a></li>
      </ul>
      </div>






      javascript html css responsive-design navigation






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Nov 9 at 1:40









      Potti

      927




      927






















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          0
          down vote













          I would recommend using Bootstrap 4 for creating a responsive navbar. You can have it done in minutes.






          share|improve this answer




















          • unfortunately I already made a navbar, I dont want to make it again. just want to make it properly responsive. but thanks for advice.
            – Potti
            Nov 9 at 3:07










          • I completely understand that. In that case, maybe comparing yours to theirs may help?
            – Chase Martin
            Nov 9 at 3:54










          Your Answer






          StackExchange.ifUsing("editor", function ()
          StackExchange.using("externalEditor", function ()
          StackExchange.using("snippets", function ()
          StackExchange.snippets.init();
          );
          );
          , "code-snippets");

          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "1"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53218642%2fmaking-responsive-navigation-bar%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          up vote
          0
          down vote













          I would recommend using Bootstrap 4 for creating a responsive navbar. You can have it done in minutes.






          share|improve this answer




















          • unfortunately I already made a navbar, I dont want to make it again. just want to make it properly responsive. but thanks for advice.
            – Potti
            Nov 9 at 3:07










          • I completely understand that. In that case, maybe comparing yours to theirs may help?
            – Chase Martin
            Nov 9 at 3:54














          up vote
          0
          down vote













          I would recommend using Bootstrap 4 for creating a responsive navbar. You can have it done in minutes.






          share|improve this answer




















          • unfortunately I already made a navbar, I dont want to make it again. just want to make it properly responsive. but thanks for advice.
            – Potti
            Nov 9 at 3:07










          • I completely understand that. In that case, maybe comparing yours to theirs may help?
            – Chase Martin
            Nov 9 at 3:54












          up vote
          0
          down vote










          up vote
          0
          down vote









          I would recommend using Bootstrap 4 for creating a responsive navbar. You can have it done in minutes.






          share|improve this answer












          I would recommend using Bootstrap 4 for creating a responsive navbar. You can have it done in minutes.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Nov 9 at 2:36









          Chase Martin

          114




          114











          • unfortunately I already made a navbar, I dont want to make it again. just want to make it properly responsive. but thanks for advice.
            – Potti
            Nov 9 at 3:07










          • I completely understand that. In that case, maybe comparing yours to theirs may help?
            – Chase Martin
            Nov 9 at 3:54
















          • unfortunately I already made a navbar, I dont want to make it again. just want to make it properly responsive. but thanks for advice.
            – Potti
            Nov 9 at 3:07










          • I completely understand that. In that case, maybe comparing yours to theirs may help?
            – Chase Martin
            Nov 9 at 3:54















          unfortunately I already made a navbar, I dont want to make it again. just want to make it properly responsive. but thanks for advice.
          – Potti
          Nov 9 at 3:07




          unfortunately I already made a navbar, I dont want to make it again. just want to make it properly responsive. but thanks for advice.
          – Potti
          Nov 9 at 3:07












          I completely understand that. In that case, maybe comparing yours to theirs may help?
          – Chase Martin
          Nov 9 at 3:54




          I completely understand that. In that case, maybe comparing yours to theirs may help?
          – Chase Martin
          Nov 9 at 3:54

















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.





          Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


          Please pay close attention to the following guidance:


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53218642%2fmaking-responsive-navigation-bar%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          𛂒𛀶,𛀽𛀑𛂀𛃧𛂓𛀙𛃆𛃑𛃷𛂟𛁡𛀢𛀟𛁤𛂽𛁕𛁪𛂟𛂯,𛁞𛂧𛀴𛁄𛁠𛁼𛂿𛀤 𛂘,𛁺𛂾𛃭𛃭𛃵𛀺,𛂣𛃍𛂖𛃶 𛀸𛃀𛂖𛁶𛁏𛁚 𛂢𛂞 𛁰𛂆𛀔,𛁸𛀽𛁓𛃋𛂇𛃧𛀧𛃣𛂐𛃇,𛂂𛃻𛃲𛁬𛃞𛀧𛃃𛀅 𛂭𛁠𛁡𛃇𛀷𛃓𛁥,𛁙𛁘𛁞𛃸𛁸𛃣𛁜,𛂛,𛃿,𛁯𛂘𛂌𛃛𛁱𛃌𛂈𛂇 𛁊𛃲,𛀕𛃴𛀜 𛀶𛂆𛀶𛃟𛂉𛀣,𛂐𛁞𛁾 𛁷𛂑𛁳𛂯𛀬𛃅,𛃶𛁼

          Edmonton

          Crossroads (UK TV series)