WordPress.org

Ready to get started?Download WordPress

Forums

How to amend header image w possible layers on top (7 posts)

  1. x-tremehealth
    Member
    Posted 4 years ago #

    I’m trying to change the header image in the punchcut theme. It’s a grey background image and I’d like to put an image on it.
    When I upload the changed “nav-background-colors.png” it cuts off my image half way horizontally as if there is another image on top of it, but there isn’t (I tried “View Background Image” and nothing shows up). I know that in that area where my png file is cut off, there are twitter, facebook and other buttons, so they must have put some sort of a layer on top of the png to allow the buttons to work. I already tried to delete the code with the buttons and around the buttons, but nothing has changed. So, I wondered if someone had a hint for what I’m looking for. (There’s is not much useful code in the style.css, so I assume it’s something in the header, or do I need to learn how to program for this issue?)

    (Website: x-tremehealth.com)

    Thanks heaps

  2. grvpande
    Member
    Posted 4 years ago #

    this time i'm having just this idea

    go to header.php
    delete the code from where the title of the page is coming also the description. Make new <div> tags inside the header.php,and then give the background image into that via CSS.Making sure that All the other things are on the right place like RSS icon and menu.

  3. x-tremehealth
    Member
    Posted 4 years ago #

    Thank you,

    When you have a minute could you give a few more code hints.
    I've deleted a whole lot with title tags (nothing changed yet), but when it comes to description I'm already lost. Everything is a description for me.
    + How do I "give the background image into that via CSS"? Sorry, I understand your thought, but wouldn't know how to type it.

  4. snshenoy
    Member
    Posted 4 years ago #

    In Arras theme, I have changed background image in the header, but I am not able to change the background color of the header. Please help.

  5. x-tremehealth
    Member
    Posted 4 years ago #

    snshenoy, would have been great if you started your own post, as your comment doesn't relate at all to my query...............

  6. snshenoy
    Member
    Posted 4 years ago #

    sorry x-tremehealth!

  7. alchymyth
    Forum Moderator
    Posted 4 years ago #

    the div #navigation with your background image only starts lower down in the header area, and is only as tall as you can see.
    you could try and add the same background image additionally to #header, and position it accordingly:

    #header {background: #f7f7f7 url(http://www.x-tremehealth.com/wp-content/themes/punchcut/images/nav-background-colors.png) -1px 10px no-repeat;}
    #header #title {visibility:hidden; }
    #header #description {visibility:hidden; }

    worked in firefox with the developer add-on, but not tested in other browsers.

Topic Closed

This topic has been closed to new replies.

About this Topic