BuddyBoss Home – Web Support Forums Themes OneSocial theme Button for register

Viewing 6 posts - 1 through 6 (of 6 total)
  • Question



    I created my own button on one page of my website. How do I make that button to link to Login button? Like when I click on it, it will popup the login overlay, exactly like the login button on the header.




    Hi @johnnetr, Please let me know where you want to add the code for button..

    you can add this code with button and customize the css according to your requirements..

    <a href="#" class="login header-button animatedClick boss-tooltip" data-target="LoginBox" data-tooltip="<?php _e( 'Login', 'onesocial' ); ?>">Button Text</a>



    hi @pallavi, I also want this feature on a home page button I have created (see screenshot attached). The button allows me to add a URL, is there anyway to get the pop up display via a URL?


    Hi @costyclan
    Please take a look of following thread

    You just need to following class for login and register

    class=”login header-button”


    Varun Dubey


    @vapvarun I have added the class as per thread however the styling of button changes. It becomes left aligned and has a faint grey line along left hand side of it. The function of opening the overlay login is working though.


    HI @costyclan,

    You can apply the following css code to child theme's custom css , it will make it look proper.

    #post-9961 .wpb_column .header-button {
      background-color: transparent !important;
      border-left: medium none;
      text-align: center !important;
      width: 100%;


Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this question.