• Hi,

    can anyone tell me the right css code for setting the buttons ‘Login’ and ‘Register’ to the right? Tried everything, tried various versions of ‘position’, but couldn’t find a solution, so help is really appreciate it. I think the right element for the buttons is something like this:

    #navigation .nav.navbar-nav.navbar-nav--login li.menu-item.menu-item--login .btn, #navigation .nav.navbar-nav.navbar-nav--login li.menu-item.menu-item--register .btn

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • .main-navigation {
        font-family: Overpass;
        float: right;
        display: inline;
    }
    
    .btn.btn-lg:not(.btn-link), .grimlock-section--btn-lg input[type="button"], .grimlock-section--btn-lg input[type="submit"], .grimlock-section--btn-lg button[type="submit"] {
        font-size: calc(14px * 1.05);
        float: right;
    }
    Thread Starter veshop

    (@veshop)

    Thanks ?? I did work- to some extend, but with the above added, it looks like this:

    https://gofile.io/d/BklWlG

    I meant the button besides the login button, I had it taken off though because I don’t want anybody to register, as this is just a dubby website, not yet public… But sure: when I don’t show the register button, nobody knows which one I mean… So I have to risk it and in case somebody registers, have to immediately delete that account. Well, anyway, what I want to achieve is this:

    https://gofile.io/d/3Q7g3f

    Some part of your code works, as it puts the Login button to the right, just not sure what to remove from the other parts of the code so that not the entire navigation bar goes to the right ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Login and register button to the right’ is closed to new replies.