WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] After upgrade all text on site is centered?

[Resolved] After upgrade all text on site is centered?

Viewing 2 replies - 1 through 2 (of 2 total)
  • WPyogi

    @wpyogi

    Forum Moderator

    Get rid of the center tag here:

    <center>
    <script type="text/javascript">

    That code is deprecated and not the way to center elements anyway.

    You also should be using a child theme to make changes to a default theme –

    http://codex.wordpress.org/Child_Themes

    Once you have that set up, add this code to center that ad:

    #aswift_0 {
       width: 728px;
       margin: 0 auto;
    }

    Thank you sir. I actually just needed to close the tag </center>

    Thumbs up!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] After upgrade all text on site is centered?’ is closed to new replies.