http://d-addicts.com
 
Register
 
HOME DRAMAS WIKI STATS HELP (FAQ) SEARCH GROUPS PROFILE PRIVATE MESSAGES LOGIN
      

CSS help needed


 
Reply to topic    D-Addicts Forum Index -> Tech Support
View previous topic :: View next topic  
Author Message
Keiko1981Offline
Avatar

Joined: 09 Apr 2006
Total posts: 3859
Location: Sweden
Age: 31
Gender: Female
PostPosted: Wed Jan 09, 2013 3:58 am    Post subject: CSS help needed   Post Rating: 0 Reply with quote

I'm having problem with changing the comments area background color at my blog from white to black.
It looks like the posting a comments a more yellowish white, and the one who replies has white background.
I'd like both of them to have black background.
If I change the post text color to white the text won't be visible in the comments.
Currently using the theme Eudora ver. 1.1.
And here's an example page: http://www.giftedones.net/jun-to-ai-2012/
If someone knows what and where I should change/add code, please let me know.
Thank you very much in advance.

Below is the code from the styles.css (the comments area).
Hidden:

Code:
/* =COMMENTS
-------------------------------------------------------------- */

#comments {
    margin-bottom: 15px;
}

#comments p {
    margin: 5px 0 10px 0;
}

h3#comments-title {
    font-weight: bold;
    font-size: 20px;
    padding: 0;
    margin: 0 0 15px 0;
}

.commentlist {
    list-style: none;
    margin: 0;
    padding: 0;
}

.commentlist li.comment {
    line-height: 24px;
    margin: 0 0 15px 0;
    padding: 0 0 0 0px;
    position: relative;
}

.commentlist li:last-child {
    border-bottom:none;
    margin-bottom:0;
}

#comments .comment-body ul,
#comments .comment-body ol {
    margin-bottom: 15px;
}

#comments .comment-body blockquote p:last-child {
    margin-bottom: 15px;
}

.commentlist .avatar {
    border: 3px solid #ffffff;
    margin-right: 10px;
    width: 40px;
    height: 40px;
    vertical-align: middle;
    margin-bottom: 2px;
}

.comment-author {
    padding: 5px;
    display: block;
    background: #F2F2F2;
    border: 1px solid #DFDFDF;
    -moz-border-radius: 4px;
    -khtml-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
}

.comment-author cite {
    font-style: normal;
    font-weight: bold;
}

.comment-author .says {
    font-style: italic;
}

.fn, .fn a:link, .fn a:hover, .fn a:visited {
    font-family: Arial, Helvetica, Sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: bold;
    text-decoration: none;
}

.comment-meta {
    margin: -23px 0 0 65px;
    display: block;
    font-size: 11px;
    padding:0;
}

.comment-meta a:link,
.comment-meta a:visited {
    text-decoration: none;
}
.commentlist .bypostauthor {
}
.reply {
    text-align: right;
    margin-bottom: 10px;
}

.comment-reply-link  {
    font-size: 11px;
    font-weight: normal;
    text-decoration: none;
    background: #EDEDED;
    color: ##333;
    padding: 2px 8px;
    -moz-border-radius: 3px;
    -khtml-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    border:  1px solid #999999;
}

.comment-reply-link:hover {
    background: #F5F5F5;
    color: #333;
}


.commentlist .children {
    list-style: none;
    margin: 0;
}

/* Children */

.commentlist .children li {
    border: none;
    margin: 0;
}

.nocomments {
    display: none;
}

#comments .pingback {
    margin-bottom: 18px;
    padding-bottom: 18px;
}

.commentlist li.comment+li.pingback {
    margin-top: -6px;
}

#comments .pingback p {
    font-size: 12px;
    line-height: 18px;
    display:block;
    margin: 0;
}

#comments .pingback .url {
    font-style: italic;
    font-size: 13px;
}

/* Comments form */

#respond {
    overflow: hidden;
    position: relative;
    margin-bottom: 15px;
}

h3#reply-title {
    font-weight: bold;
    font-size: 20px;
    padding: 0;
    margin: 0 0 15px 0;
}

#respond .required {
    color:#FF4B33;
}

#respond .comment-notes {
    margin-bottom: 1em;
}

.form-allowed-tags {
    display: none;
}

.children #respond {
    margin: 0 48px 0 0;
}

#comments-list #respond {
    margin: 0 0 18px 0;
}

#comments-list ul #respond {
    margin: 0;
}

#cancel-comment-reply-link {
    font-size: 12px;
    line-height: 18px;
    font-weight: normal;
}

#respond .required {
    color:#FF4B33;
    font-weight:bold;
}

#respond label {
    font-size: 12px;
    font-weight: bold;
}

#respond input {
    margin:10px 0 0 0;
    width:98%;
}

#respond textarea {
    width:98%;
    margin:10px 0 0 0;
}

#respond .form-allowed-tags {
    font-size: 12px;
    line-height: 18px;
}

#respond .form-allowed-tags code {
    font-size: 11px;
}

#respond input[type=submit] {
    margin: 0;
}

#respond .form-submit {
    margin: 0;
}

#respond .form-submit input {
    width: auto;
    font-size: 14px;
}
#respond dl {
    margin: 0 0 10px;
}

#respond dt {
    display: inline;
    font-weight: normal;
}

#respond dd {
    display: inline;
}

/* =END


Had trouble posting the code for comments.php, let know if you need it.

_________________
Seeding until Jun 1st The End Of The World E01-E12 END-iPOP
Subbing Dear My Sister, Orange Days, Oshin
Seeding/subbing updates Gifted Ones, tumblr, Twitter

Back to top
View user's profile Visit poster's website 
xaxaOffline
Avatar

Joined: 03 Dec 2005
Total posts: 504
Gender: Male
PostPosted: Wed Jan 09, 2013 5:33 am    Post subject:    Post Rating: 0 Reply with quote

hi, Keiko!

find this line in the file http://www.giftedones.net/wp-content/plugins/spam-free-wordpress/css/sfw-comment-style.css

3rd line should be
.sfw-commentlist > li.sfw-comment {
background: black;
...
}
6th line should be
.sfw-commentlist .children li.sfw-comment{
background: black;
...
}

but there is also white arrow - picture. it should be changed in image editor, saved with rewrite in the folder it belongs. the name of the picture is probably images/comments/comment-arrow.png
Back to top
View user's profile Visit poster's website 
Keiko1981Offline
Avatar

Joined: 09 Apr 2006
Total posts: 3859
Location: Sweden
Age: 31
Gender: Female
PostPosted: Wed Jan 09, 2013 11:23 am    Post subject:    Post Rating: 0 Reply with quote

xaxa wrote:
hi, Keiko!

find this line in the file http://www.giftedones.net/wp-content/plugins/spam-free-wordpress/css/sfw-comment-style.css

3rd line should be
.sfw-commentlist > li.sfw-comment {
background: black;
...
}
6th line should be
.sfw-commentlist .children li.sfw-comment{
background: black;
...
}

but there is also white arrow - picture. it should be changed in image editor, saved with rewrite in the folder it belongs. the name of the picture is probably images/comments/comment-arrow.png

Thank you for the help xaxa. Smile
I think my brain has gotten even more wrinkled the past days.
Still some things to be done, but they aren't absolutely necessary. It was the comments background which bothered me the most.

_________________
Seeding until Jun 1st The End Of The World E01-E12 END-iPOP
Subbing Dear My Sister, Orange Days, Oshin
Seeding/subbing updates Gifted Ones, tumblr, Twitter
Back to top
View user's profile Visit poster's website 
Display posts from previous:   
Reply to topic    D-Addicts Forum Index -> Tech Support All times are GMT - 1 Hours
Page 1 of 1
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum