1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.3 How to add the buttons like Sign-Up on XF pages

Discussion in 'Styling and Customization Questions' started by Andy.N, May 17, 2014.

  1. Andy.N

    Andy.N Well-Known Member

    I would like to put a button that styled like the XF Sign up buttons on any XF page but it appears that the default style is only looking good if it's used on the sidebar.
    If I put it in the center of a page, it will span the whole width and I have to specify a width for that button.
    Is there a better way to add the buttons to pages that has the same uniform format like the default buttons?

    Here is the code i use
    Code:
    <div class="noticeButtonContainer"><label id="SignupButton"><a href="https://domain.com/" class="inner"><b>Pay and Enroll</b></a></label></div>
    Here is how it looks
     
  2. Newt

    Newt Active Member

    I wanted to do the same, but can't find the css style so I just edited the div with: style="width:220px;margin:auto;". Since the text is not the same in all my buttons, I just adapt each button's width.
     

Share This Page