WordPress.org

Ready to get started?Download WordPress

Forums

Center header (4 posts)

  1. CharlieLivingston
    Member
    Posted 1 year ago #

    Hey, I'm trying to center my header text ('The Data Entry Test'), but just can't figure out how to do it. Any help would be appreciated, thanks!

    The Data Entry Test

    Charlie

  2. Andrew
    Forum Moderator
    Posted 1 year ago #

    Then why have you floated it left? Remove that.

  3. Andrew
    Forum Moderator
    Posted 1 year ago #

    Then add:

    .navbar .brand {
     text-align: center;
    }

    http://www.w3.org/Style/Examples/007/center.en.html

  4. CharlieLivingston
    Member
    Posted 1 year ago #

    I don't know how I missed that. Thanks!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags