• Hello,

    I got my layout fully customized, but there’s just one thing that I just can’t get fixed.

    http://www.technophile.eu

    1. When someone posts a comment, the comment is in white text as everywhere else on the site, but the backround of the comment is also white.
    And I am quite lost at finding the line that defines the backround color of comments. I found some tips that somehow dealt with adding new lines, but I don’t have any ideas what line I would have to add and where.

    2. Just an aesthetical thing, but I would like to have no avatars at the comments at all. Is there a simple way (deleting a line?) to remove them?

    3. Does someone know how to define the width of the text when you klick on “read more”? There’s so much space at the sides and I think it would look good if the text be wider.

    Thanks for all advice.

Viewing 4 replies - 1 through 4 (of 4 total)
  • 1. white background in comments – typo in style.css:

    .commentlist p {
    	font-weight: normal;
    	line-height: 1.5em;
    	text-transform: none;
            backround: black;
    	}

    must read: background: black;

    2. avatar – find this or similar in comments.php:
    <?php echo get_avatar( $comment, 32 ); ?>
    and delet the line –

    3. the space is formatted in style.css

    .widecolumn {
    	padding: 10px 0 20px 0;
    	margin: 5px 0 0 150px;
    	width: 450px;
    	}

    increasing the width, and decreasing the margin 150px should help.

    PS: nice color scheme 😉

    Thread Starter yora

    (@yora)

    Thank you for your advice, but I’m afraid neither of the tree tips had any effect. ^^

    – I corrected the typo, but the comment backgrounds are still white.

    – There is nothing like the line you mentioned in comments.php.

    – The widecolumn section in my style.php shows only

    .widecolumn {
    	line-height: 1.6em;
    	}

    And adding the width line has no effect.

    – i missed the style for the comments background (this is how it is at the moment in the style.css):

    .thread-alt {
    	background-color: #f8f8f8;
    }
    .thread-even {
    	background-color: white;
    }

    change the color codes to black or #111.

    – there are a few lines with .widecolumn – find the one that is the furthest towards the end of style.css and add the changes there.
    something like:

    .widecolumn {
    	padding: 10px 0 20px 0;
    	margin: 5px 0 0 50px;
    	width: 650px;
    	}

    – avatars can be switched on/off in ‘admin’ ‘settings’ ‘discussion’;

    or a permanent fix would be:
    img.avatar {display:none;}
    added at the end of style.css.

    Thread Starter yora

    (@yora)

    NOW it all worked perfectly! Made no troubles at all.

    Thanks a lot!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Changing background of comments’ is closed to new replies.