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

How Do I : Add a disclaimer text to the footer?

Discussion in 'XenForo Questions and Support' started by Netsultants, Jan 1, 2011.

  1. Netsultants

    Netsultants Active Member

    Happy New year everyone,

    I need to add disclaimer text to the footer. What is the proper way to do it and make it look good?
     
  2. Brogan

    Brogan XenForo Moderator Staff Member

    Where exactly do you want to add it?
    In the footer bar, on the same row as the copyright text or lower?

    There was a thread yesterday asking how to add links so that might provide some help: http://xenforo.com/community/threads/how-to-create-a-box.9828/

    In general though you can either edit the footer template and add your text inline either as text or a phrase.
    Or you can create a separate template and include it in the footer template.
     
  3. steven s

    steven s Well-Known Member

    I added mine to the Terms and Rules.
     
  4. Netsultants

    Netsultants Active Member

    I was thinking right under the copyright row centered with padding.
     
  5. Brogan

    Brogan XenForo Moderator Staff Member

    You can add your content just above the second last </div> on the footer template.

    Code:
                <span class="helper"></span>
            </div>
    Your content here
        </div>
    </div>
     
  6. Netsultants

    Netsultants Active Member

    Thanks Brogan,

    I actually added it here as I wanted it under the copyright div:

    <span class="helper"></span>
    </div>
    My Content
    </div>
    </div>

    --
    Now when there is a sw update does it overwrite the change?
     
  7. Brogan

    Brogan XenForo Moderator Staff Member

    I'm pretty sure that's the same as I posted ;)

    If the footer template changes then you will need to revert and reapply your edit.
     
  8. Netsultants

    Netsultants Active Member

    lol

    You're right... That syntax is actually in two places in the template.

    ok, now if I wanted to add left and right padding, say 60px?
     
  9. Brogan

    Brogan XenForo Moderator Staff Member

    If you want to do inline styling then something like this:
    Code:
    <div style="text-align: center; padding: 0 60px">Your content here</div>

    You could though move that css to EXTRA.css as a class and then use e.g.
    Code:
    <div class="my_disclaimer">Your content here</div>
     
  10. Netsultants

    Netsultants Active Member

    Here is how I did it for reference:

    Code:
    <span class="helper"></span>
    </div>
    <div style="text-align: left; color: #646464; padding: 0 180px">my content</div>
    </div>
    </div>
    Thanks
     
  11. Brogan

    Brogan XenForo Moderator Staff Member

    Text automatically aligns left so you can remove that from your code if you wish :)
     
  12. Netsultants

    Netsultants Active Member

    Good point....

    Just making it clear for reference
     

Share This Page