MyBB Community Forums
Center Post Author | Classic View - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: Extensions (https://community.mybb.com/forum-201.html)
+--- Forum: Themes (https://community.mybb.com/forum-103.html)
+---- Forum: Theme Support (https://community.mybb.com/forum-10.html)
+---- Thread: Center Post Author | Classic View (/thread-178810.html)



Center Post Author | Classic View - jdobbsy1987 - 2015-09-11

Hi,

I am running MyBB 1.8.6 with a theme calledĀ duende that i got from the 1.8 Themes section.
URL to Forum/Example Tread - http://forum.alandobbsdecorating.co.uk/showthread.php?tid=2

I am trying to center the below highlighted information but struggling to do it.

   

I have tried puttingĀ text-align: center; in:
  • .post .post_author
  • .post.classic .post_author
  • and similar named sections
But to no avail.

Any help would be greatly appreciated.

Regards,
Jamie


RE: Center Post Author | Classic View - subzr1 - 2015-09-11

hello
on postbit_classic template
search this line:
<div class="post_author scaleimages" style="margin-left: 20px; margin-top: 10px;"

and replace with:
<div class="post_author scaleimages" style="margin-left: 20px; margin-top: 10px;text-align: center;"
should be ok


RE: Center Post Author | Classic View - jdobbsy1987 - 2015-09-11

Thank you subzr1, you legend!

Cheers,
Jamie