Forums

[resolved] Grey Png in Post (4 posts)

  1. Luckymee
    Member
    Posted 1 year ago #

    Hey Ive had a search and I cant find anything.

    When I post png in posts or on pages, the images don't keep there transparency.

    I have viewed the website from a range of different browsers on different computers, to the same end.

    I'm only need to wordpress and have no idea how to fix it.

    Website is: digiblas.com

  2. alchymyth
    The Sweeper
    Posted 1 year ago #

    the css of your aligned images has a background color defined:

    img.alignnone {
    	padding: 5px 5px;
    	margin: 0px 0px 10px 0px;
    	display: inline;
    	background:#E4E4E4;
    	border: 1px solid #fff;
    	}
    
    img.alignright {
    	padding: 5px 5px;
    	margin: 0px 0px 0px 0px;
    	display: inline;
    	background:#E4E4E4;
    
    	}
    
    img.alignleft {
    	padding: 5px 5px;
    	margin: 0px 0px 0px 0px;
    	display: inline;
    	background:#E4E4E4;
    
    	}

    in style.css of your theme

  3. Luckymee
    Member
    Posted 1 year ago #

    Thanks heaps, changing the value to background: none worked perfectly!

  4. alchymyth
    The Sweeper
    Posted 1 year ago #

    you are welcome,

    it helps to look behind the obvious ;-)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags