WordPress.org

Ready to get started?Download WordPress

Forums

Need Help With Image in Header and Determining Pixel Width (6 posts)

  1. ORTOX06
    Member
    Posted 2 years ago #

    Dear WordPress Gurus,

    I'm in some need of help here. I'm very new when it comes to working with PHP and CSS.

    I'm using the Cleanr theme and my website's url is dinorobo.com

    Here is what I need help with. The theme I'm using doesn't give the option in the UI to use a custom header image. How do I replace my sites clickable title with a clickable header image of my logo?

    The other big issue that I need help with is this: My logo designer is asking how wide the banner image for my site can be. How do I determine the pixel width of different points on my site?

    For instance, I might like the Banner to take up the entire width of my site. But how do I know how many pixels wide it is? Or I might just want it to be as wide as the body of my site and only extend to where my sidebar begins. Once again how do I determine the width?

    Before you tell me to "search" or view posts such as http://codex.wordpress.org/Designing_Headers I will tell you that I've already done both and I'm still very lost.

    I thank you for your patience and help.

  2. Your header is 940px wide.
    I used firebug to get that value, but it's also in your css.

    With regards tot he clickable logo, I'm not sure what you mean. I can click your logo right now.

    Your logo is fantastic, but the way.

  3. ORTOX06
    Member
    Posted 2 years ago #

    I had a good feeling it was 940. I was looking at the CSS and figured that number was for the width of the site but wasn't sure. And thanks for informing me of firebug! i'll have to check it out.

    Yeah! I was figured out how to get it up after finding this thread: http://wordpress.org/support/topic/how-to-insert-logo-into-blog-header?replies=5

    Except now I have a new problem! If you see on the site, the navigation links were moved WAY up. I have no idea where to begin to correct the issue. The one thing I tried was in the style.css i adjusted this code:

    /* jQUery Dropdown menu */
    #nav { list-style: none; padding-top:45px; margin: 0; float:right;}
    #nav li { float: left; margin: 0px 0px 0px 10px;padding:0px 15px 0px 0px;position:relative;font-size:14px;line-height: 1.8;zoom: 1}
    #nav li:last-child {padding:0;}
    #nav .current-cat a, #nav .current_page_item a {color: #aaa}
    #nav .current-cat li a, #nav .current_page_item li a {color: #000}
    #nav .current-cat li a:hover, #nav .current_page_item li a:hover {color: #c00}

    I adjusted the padding-top :45px to 200px but it didn't actually change anything. Any ideas?

    Also thanks so much for the compliment on the logo! I really appreciate it!

    It was done by my buddy who i'll be running this site with. You can go to his portfolio site here if you wanna check it out:

    cpkcreative.com

    Thanks again Christine!

  4. Where do you want your navigation to be? I think it looks good there...
    If you change the padding-top in your css from 45px to 250px that will bring it down much lower.

    In order to visualize things more easily, in your css change this:

    #nav { list-style: none; padding-top:45px; margin: 0; float:right;} to this
    #nav { list-style: none; padding-top:45px; margin: 0; float:right; background:yellow;}

    now background yellow is going to make it ugly, but you'll be able to see much more clearly what you are doing. It's a great CSS trick.

  5. ORTOX06
    Member
    Posted 2 years ago #

    Thanks again for the tips. Gonna try this out right now.

  6. ORTOX06
    Member
    Posted 2 years ago #

    Hmm... Tried using the code to make the background yellow. Nothing changed?

    Also tried changing the padding to 250. Nothing changed with that either?

    Any ideas?

Topic Closed

This topic has been closed to new replies.

About this Topic