WordPress.org

Ready to get started?Download WordPress

Forums

NEED HELP WITH HEADER/TRANSPARENY ISSUE (8 posts)

  1. koffinkittens
    Member
    Posted 5 years ago #

    Howdy everyone,

    I've done a lot of customizing in the wee hours, but I just can't seem to solve this problem. I have a transparent .png image that I am using as 'a header.

    The problem is that, although the image is transparent, I continuously get a white background behind the image [thus making it no longer transparent].

    If I could get some feedback regarding turning the header section transparent so my image turns out the way it's supposed to look, I sure would appreciate it!

  2. wp-rory
    Member
    Posted 5 years ago #

    Hi,

    Transparency can be something of a minefield, and the browser you are using has a bearing on whether it will work as you want it to.

    Could you supply:

    - The URL of your site.
    - Details of which browser you are using.

    I will then take a look.

    All the best,

    Rory. :)

  3. koffinkittens
    Member
    Posted 5 years ago #

    Rory,

    I hate to be a bit snide regarding the issue, but I can't exactly release the URL yet. I am running on Firefox, latest version.

    I've tried going through every piece of "header" code I can find and placing a background: transparent; line, but nothing seems to be working right now!

  4. wp-rory
    Member
    Posted 5 years ago #

    That's OK - I understand. If you want to send me anything privately, feel free to email dev [at] lehocq.co.uk .

    Which do you have:

    a) An image on top of a coloured header image/background, whereby you want the coloured image/background to be transparent?
    b) An image whereby you want its 'background' (solid colour) to be transparent?

    These two things would be achieved in different ways. Please let me know.

    All the best,

    Rory. :)

  5. koffinkittens
    Member
    Posted 5 years ago #

    Rory,

    The image itself is transparent.

    It's a .png [png-24] file. I actually have the same thing going on for my page background, which has a transparent fade to blend in with the background and appear kind of "3D'ish".

    So what's happening is that even though the image itself is transparent, I am getting some sort of defaulted white background color for the header. It's not the image, but something I'm guessing that's overriding behind the image itself causing it to set to white.

  6. wp-rory
    Member
    Posted 5 years ago #

    OK, could you paste your stylesheet (style.css) on this thread, and also your header.php file? There is probably something in one or both of those that is causing this behaviour.

    Rory. :)

  7. koffinkittens
    Member
    Posted 5 years ago #

    Rory,

    I just sent you a[n] e-mail. :)

  8. wp-rory
    Member
    Posted 5 years ago #

    Hi, I replied but there seems to be some trouble with your eMail address. Did you receive my reply? Rory. :)

Topic Closed

This topic has been closed to new replies.

About this Topic