<li class="nav-item"><a class="nav-link btn btn-primary" type="button" href="Join-Us.php">Join</a></li>
<li class="nav-item"><a class="nav-link btn btn-primary" type="button" href="#" data-toggle="modal" data-target="#Login">Log In</a></li>
https://arise.plus
#header .nav-menu.nav-demo-2 .nav > li > a {
font-size: 14px;
padding: 0.5rem 1rem;
}
and#header .nav-menu.nav-demo-2 .nav > li > a {
padding: 0px 0.3rem;}
Neither worked.
@media(max-width:1100px){
#header .nav-menu.nav-demo-2 .nav > li > a{
font-size: 14px;
padding-right: 0px;
}
That's the bit that you need to change - you need to set the padding for screen resolutions less than 1100px.
I can see a padding in .btn (padding: 0.375rem 0.75rem)
both in bootstrap.css
They both influences the space in front of the button text, and as this space is left free anyway, the text can not move more to the left edge to stay in the center.
Note that you also have a .btn in style.css
You use the padding to keep distance between the item, but it affects also the buton border for Join and Log In