MyBB Community Forums

Full Version: Centering text?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi all,

I don't know much when it comes to editing themes. Sure, I can add new navigation buttons, know how to alter a few things here and there but there is one thing I have no figured out how to do, and that is centering text.

I'm basically wanting to add 16x16 Facebook, Steam and YouTube icons to my footer but in between the myBB copyright and the theme copyright. I've added a screenshot and highlighted what I mean.

[Image: NZyxV.jpg]

I know how to add the images no problem it's centering it all that is the issue. I've added the footer code below as it's probably easier for someone to show me exactly how I can do this.

{myadvertisements[zone_2]}<div id="copyright">
<span style="float:right;">Edited by <a href="http://www.versonogaming.com" title="Edited by VersonoGaming.com">VersonoGaming.com</a><br>Original theme by <a href="http://www.jordanlovelle.com" title="Created by Jordan Lovelle">Jordan Lovelle</a></a></span>
Proudly powered by <a href="http://www.mybb.com">MyBB</a><br>Some content © VersonoGaming
                <!-- MyBB is free software developed and maintained by a volunteer community. 
                     It would be much appreciated by the MyBB Group if you left the full copyright and "powered by" notice intact, 
                     to show your support for MyBB.  If you choose to remove or modify the copyright below, 
                     you may be refused support on the MyBB Community Forums.
                     
                     This is free software, support us and we'll support you. -->
                <!-- End powered by -->
<!-- The following piece of code allows MyBB to run scheduled tasks. DO NOT REMOVE -->{$task_image}<!-- End task image code -->
{$auto_dst_detection}
</div>
</div>
</div>
                <div id="debug"><debugstuff></div> 

I know how to add links and all, no worries at all, the only thing I need assistance with today is centering it.

Cheers
<center>Content here</center>
Thanks for the reply.

That some-what works although it's a little below the text on the left and the right. Doesn't look too bad, I'm just OCD when it comes to this stuff Toungue

[Image: aNRLm.jpg]
Try adding the code at the top of the template Confused might work...
If that does not work try replacing
<span style="float:right;">Edited by <a href="http://www.versonogaming.com" title="Edited by VersonoGaming.com">VersonoGaming.com</a><br>Original theme by <a href="http://www.jordanlovelle.com" title="Created by Jordan Lovelle">Jordan Lovelle</a></a></span>
with
<span style="float:right;">Edited by <a href="http://www.versonogaming.com" title="Edited by VersonoGaming.com">VersonoGaming.com</a><br>Original theme by <a href="http://www.jordanlovelle.com" title="Created by Jordan Lovelle">Jordan Lovelle</a></a></span>
<center>Content here</center>
Tried all that!

I'll just leave it how it is. Doesn't exactly look bad or anything.

Cheers!

Edit: I've edited the footer around a bit to make it look alright. Kept all copyrights of course!
Yes you shoulden't get rid of those.