WordPress.org

Ready to get started?Download WordPress

Forums

After upgrade all text on site is centered? (3 posts)

  1. 123myIT
    Member
    Posted 1 year ago #

    The text on the site used to be aligned left.
    http://www.123myit.com

    How can I change it back. I am not great when it comes to editing css.

  2. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    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;
    }
  3. 123myIT
    Member
    Posted 1 year ago #

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

    Thumbs up!

Topic Closed

This topic has been closed to new replies.

About this Topic