WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] trying to center copyright text in footer (5 posts)

  1. theregoesjb
    Member
    Posted 1 year ago #

    http://www.jbournedesign.com/bce/

    I am trying all kinds of CSS to center the text element in the footer (the copyright text). But I am new and cant ge it to work.

    when i 'inspect element' it says:

    <div id="copyright" >
    <p class="copyright twocol">© 2013 Bourne Consulting Engineering
    </p>

    this is the CSS ive added in the theme's custom CSS area:

    #copyright {
    text-align: center
    }
    p.copyright.twocol{
     text-align: center;
     margin-right: auto;
    margin-left: auto;
    }
  2. Andrew
    Forum Moderator
    Posted 1 year ago #

    Add;

    p.copyright.twocol {
     width: auto;
     float: none;
    }
  3. theregoesjb
    Member
    Posted 1 year ago #

    this did not work, i first tried adding it to the CSS i already put in, then i tried deleting it all and just adding your piece. but neither worked.

  4. Andrew
    Forum Moderator
    Posted 1 year ago #

    You still need your text align center.

    You also misspelled float.

  5. theregoesjb
    Member
    Posted 1 year ago #

    ahh stupid mistakes, thank you.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.