WordPress.org

Forums

Center header (4 posts)

  1. CharlieLivingston
    Member
    Posted 2 years 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
    Nuh uh moderator
    Posted 2 years ago #

    Then why have you floated it left? Remove that.

  3. Andrew
    Nuh uh moderator
    Posted 2 years ago #

    Then add:

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

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

  4. CharlieLivingston
    Member
    Posted 2 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags