WordPress.org

Ready to get started?Download WordPress

Forums

CSS help: customized my header and now navigation bar is wacky (4 posts)

  1. cbanfalvi
    Member
    Posted 4 years ago #

    Hello,

    I am just figuring out this whole css thing. I finally was able to install my header. But after I centered it, the navigation bar below the header also moved over to the right, and then the text in the navigation buttons disappeared.

    Here is the site:
    http://www.tastehungary.com/

    And here is the relevant code:

    #header {
    background-image: url('taste-hungary-logo.jpg');
    background-repeat: no-repeat;
    margin-left: 350px;
    padding: 30px 15px 15px 60px;
    height: 177px;
    width: 286px;
    }

    #header a {
    display:block;
    text-indent:-200em;
    height:100%;
    text-decoration;
    }

    Can someone please advise me on what I should change?

    Thanks so much in advance!
    Carolyn

  2. Edward Caissie
    Theme Review Admin
    Posted 4 years ago #

    In your style.css file (around line 146) change the #blogtitle a element to:

    #blog-title a {
      background:url("taste-hungary-logo.jpg") no-repeat scroll center top transparent;
      display:block;
      height:177px;
      width:286px;
      margin:0 auto;
    }

    ... by adding the margin:0 auto; property your image will center.

  3. cbanfalvi
    Member
    Posted 4 years ago #

    Thank you.....it worked!

  4. Edward Caissie
    Theme Review Admin
    Posted 4 years ago #

    You're welcome.

Topic Closed

This topic has been closed to new replies.

About this Topic