WordPress.org

Forums

[resolved] Transparent PNG header turning black (7 posts)

  1. Syfe
    Member
    Posted 2 years ago #

    My Website: http://pixelizedreality.com/

    The header of the image is supposed to be transparent, it's exactly 1000 x 196 as per the necessary height and width of the header. I have not cropped it using wordpress. Instead of it being transparent however, it turns up with a black background. I've looked through the editor to see if there was any forced black background for the header but I could not see any if there was.

    Many of the issues I find when looking for an answer are that people have used wordpress to crop their image, thus making it a JPG. My the image link for my page is: http://pixelizedreality.com/wp-content/uploads/2013/03/logonew1.png clearly a non-cropped .PNG

    I can't quite figure out where I've gone wrong in attempting to fix this issue, if anybody has any suggestions I'd be grateful.

  2. Andrew
    Forum moderator & snail smusher
    Posted 2 years ago #

    It is transparent.

    It is turning black because your page's background colour is black.

  3. Syfe
    Member
    Posted 2 years ago #

    Odd, because my background colour is #015EA1 according to my settings and has a cross hatched image for me.

    This should be my background: http://pixelizedreality.com/wp-content/uploads/2013/03/1343333842_Pattern051.jpg

    I think I see what you mean, though I cannot seem to be able to find a way to change it to any other colour, is it possible to point me to a line or area to look to change it? Thank you.

  4. Andrew
    Forum moderator & snail smusher
    Posted 2 years ago #

    Add this CSS;

    #page {
     background: deeppink;
    }
  5. Syfe
    Member
    Posted 2 years ago #

    Adding that to the page area doesn't seem to change anything for me,

    Well I got it to be white, for some reason, but not transparent.

  6. Syfe
    Member
    Posted 2 years ago #

    Found the errors on my own.

  7. Andrew
    Forum moderator & snail smusher
    Posted 2 years ago #

    Well done.

Topic Closed

This topic has been closed to new replies.

About this Topic