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

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?
 

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.
 

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>
 

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?
 

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?
 

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>
 

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
 

Brogan

XenForo moderator
Staff member
Text automatically aligns left so you can remove that from your code if you wish :)
 
Top