BuddyBoss Home – Web › Support Forums › Themes › OneSocial theme › Button for register
- This topic has 5 replies, 5 contibutors, and was last updated 8 years, 7 months ago by Anve S..
Question
April 4, 2016 at 4:45 am #66750@johnnetrHi,
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
April 5, 2016 at 2:13 am #66866@
AnonymousHi @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
April 15, 2016 at 3:05 am #68375@costyclanhi @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?
April 18, 2016 at 12:50 pm #68788@
AnonymousHi @costyclan
Please take a look of following threadYou just need to following class for login and register
class=”login header-button”
class=”joinbutton”Regards
Varun DubeyApril 18, 2016 at 4:47 pm #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.
April 19, 2016 at 12:21 am #68861@anveHI @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
- You must be logged in to reply to this question.