Harris Marfel
asked 10 years ago

Hello,
Is there a way to make center this menu?
http://www.pwtwilight.com/promo-banner/quetion/Capture.JPG

2 Answers
Harris Marfel
answered 10 years ago

Okay, i found solution with this code

.navbar .navbar-nav > ul {    margin: 0 !important;
                            text-align:center !important;
                            }
@media(max-width:1024px) {
    .navbar .navbar-nav > ul {
        padding-left: 0px !important;
   }
}
DominicStaff
answered 10 years ago

To resolve this issue, you can add the following code to the style.css file:

.navbar .navbar-nav > ul { padding-left: 150px !important;}
@media(max-width:1024px) {
    .navbar .navbar-nav > ul {
        padding-left: 0px !important;
   }
}

Hope this helps !

Harris Marfel
replied 10 years ago

seems that not giving a real center, but only gave left padding.if i resize the browser, it will make the nav bar seemly like margin right.

Powered by DW Question & Answer Pro