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

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

    #66750
    @johnnetr

    Hi,

    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.

    Answers

    #66866

    Anonymous
    @

    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>
    

    Regards

    #68375
    @costyclan

    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?

    #68788
    @vapvarun

    Hi @costyclan
    Please take a look of following thread

    You just need to following class for login and register

    class=”login header-button”
    class=”joinbutton”

    https://www.buddyboss.com/support-forums/topic/how-to-link-to-registration-popup/?no_frame=1#post-65459

    Regards
    Varun Dubey

    #68842
    @costyclan

    @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.

    #68861
    @anve

    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%;
    }
    

    Regards
    Anve

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