Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I am working from a Wordpress theme called Dynamix.

The site is located here...

If you scroll down to the post with a comment, you'll see a comment bubble, with a solid black background. If you hover over it, you'll notice it turns red.

In Chrome's debugger, I found this line of code... (It's long, but it starts with this)

#content ul li.socialinit, #content and it ends with this background tag...

background-color: #252525; (in the debugger).

In style.php, which is here, I found the code, but I have no idea how to change it.

Looks like this: background-color:#<?php echo $linkcol; ?>;

I don't want the black background. I want it to say background: none;, which should fix my issues.

I'm lost on what to do here...

share|improve this question

closed as off-topic by s_ha_dum, Johannes Pille, t f, brasofilo, G. M. Sep 20 '13 at 9:49

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions should be specific to WordPress within defined scope (merely happening in its context, such as generic PHP/JS/HTML/CSS, is insufficient). Might be better asked at Stack Overflow or other appropriate site of Stack Exchange network." – s_ha_dum, Johannes Pille, t f, brasofilo, G. M.
If this question can be reworded to fit the rules in the help center, please edit the question.

1  
did you try deleting that line? –  Waldermort Sep 20 '13 at 5:38
    
It is an image. Look for the code in style.css line number 951. –  Maruti Mohanty Sep 20 '13 at 6:17

1 Answer 1

up vote 1 down vote accepted

To remove the style without modifying the original code you can try add this to your style.css

.comment.yes {
    background: none !important;
}

This will add a new style for that class. The !important part tells the browser not to let another style over-ride that line.

share|improve this answer
1  
Please explain why this will/should work - even though this is not WP-specific. –  t f Sep 20 '13 at 6:09
    
I placed that class at the end of my style sheet, and it didn't work. Thanks for trying though. And BTW - You are all way too strict on your Wordpress specific rules. I wouldn't be using this type of stylesheet on a traditional HTML developed site. I only find these kinds of issues with Wordpress (sounds pretty specific to me). –  webfrogs Sep 20 '13 at 13:08
    
@webfrogs If you know where the original declaration is then try removing the class name .comment.yes from it. You can't delete the background-color line because it's also used for other elements. –  Waldermort Sep 20 '13 at 13:32
    
I simply removed the line of code and it worked. I didn't realize that was something I could do. Works fine now. –  webfrogs Sep 20 '13 at 13:35

Not the answer you're looking for? Browse other questions tagged or ask your own question.