Centering site-title?

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #3339 Reply
    Chris Mattingly
    Guest

    I’ve read through the forums and was able to “fix” one issue (widget header bar background color), but I’ve been playing with the custom css for a while now (and I’m still very new in dealing with css) and cannot solve one more thing I’d like to change.

    I have no site description, only the title (it’s blank in the WP settings and I’ve unchecked the box to show it in the Frontier settings).

    It would be great if I could center the site-title text in the top-bar, but all my attempts have failed.

    What I’ve tried thus far have been permutations of the following:
    #top-bar {
    background: #005E9C;
    display: block;
    float: none;
    margin-left: auto;
    margin-right: auto;
    }

    #top-bar-info {
    display: block;
    float: none;
    margin-left: auto;
    margin-right: auto;
    }

    #site-title {
    display: block;
    float: none;
    margin-left: auto;
    margin-right: auto;
    }

    Ron, I love the theme — it’s provided the flexibility I was looking for… this site is for my Cub Scout pack. Thanks for all the work!

    #3340
    Ron
    Keymaster

    This should do it.

    #top-bar-info {
        width: 100%;
        text-align: center;
    }
    
    #3356
    Chris Mattingly
    Inactive

    I added all of the following to get it to look “right”:

    #top-bar, #bottom-bar {
        background: #005E9C;
    }
    
    #top-bar-info {
        width: 100%;
        display: block;
        text-align: center;
        background: #005E9C;
    }
    
    #site-title a {
        color: #FFF;
    }
    

    It’s looking good now. Thanks!

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: Centering site-title?
Your information: