html - Difficulty customizing Bootstrap navbar for responsiveness -


i wish create navbar below. decided use bootstrap easy create responsive navbar using bootstrap.

navbar

i put in own custom css background transparent, links white in color etc , menu links lie @ center.

you can have here - http://107.167.189.78/codeigniter/index.php/web/

problems come when resize screen. enter image description here

enter image description here

the problems -

1) when mobile,the navbar not visible ( since made transparent )

2) when mobile - navbar button appears in middle( wish button come on exptreme right)

the following code make navbar button appears on extreme right on tablet portrait/mobile display , set background color pink instead of using navbar background image ..

@media , (max-width: 768px) {   .navbar.mynavbar{      background: #db1d94 none repeat-x scroll 0 0;      width: 100%;      z-index: 9999;   } } 

this should fix problem tested it.

it looks : (on tablet portrait/mobile) enter image description here

note: have rid of white border once show again background ...


Comments

Popular posts from this blog

Android : Making Listview full screen -

javascript - Parse JSON from the body of the POST -

javascript - How to Hide Date Menu from Datepicker in yii2 -