2 buttons in nav bar

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #17381
    AntoineGAntoineG
    Member

    Hi
    I need 2 buttons aside in my nav bar. 1 to register and 1 to connect.
    I manage to have 1 button but I can’t put another one on its left.

    Can you help me please ?

    Antoine

    Attachments:
    #17391
    VeenaVeena
    Moderator

    Instead of adding button in the header area widget pls try to add the below code in file header.php at line no:87 ie, immediately after the closing of “wrap” div .

    
    
    

    And then include the below custom CSS in Themeoptions and see if it helps –

    #button-reg, #button-connect {
        position: relative;
        float: right;
    }
    

    Pls style the button according to your needs.

    #17465
    AntoineGAntoineG
    Member

    Hi,

    It’s not working : well I have my 2 buttons but there aren’t aligned with the rest of my nav bar…

    Attachments:
    #17477
    VeenaVeena
    Moderator

    Can you pls provide a link to your site?

    #17504
    AntoineGAntoineG
    Member
    This reply has been marked as private.
    #17513
    VeenaVeena
    Moderator

    Pls ignore the custom CSS which i have suggested before and pls use the following custom CSS in themeoptions –

    #button-reg {
        position: absolute;
        top: 10px;
        right: 10px;
    }
    #button-connect {
        position: absolute;
        top: 10px;
        right: 160px;
    }
    #header.sticky #site-logo, #header.sticky #primary-menu {
        display: block !important;
    }
    
    #17540
    AntoineGAntoineG
    Member

    Hi,

    My buttons are side by side but still not aligned with the rest of my nav bar 🙁

    Attachments:
    #17566
    VeenaVeena
    Moderator

    Did you remove the buttons?
    Can you pls add this also in the custom CSS –

    #primary-menu {
        float: none;
        margin-right: 20px;
    }
    
Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.