Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Comments, trackbacks & pings (http://forum.bytesforall.com/forumdisplay.php?f=19)
-   -   [SOLVED] Border Around Author's Comments (http://forum.bytesforall.com/showthread.php?t=9477)

samij0 Sep 7, 2010 06:29 PM

[SOLVED] Border Around Author's Comments
 
Hi,

I'm using Atahualpa 3.5.3 with WordPress 3.0.1. Instead of highlighting author's comments, I'd like to add a border around each author's comment. I write most of the posts, but occasionally, I have guests write posts, so if I could have different colors for each author, that would be great.

I saw this post about how to change the comment highlight on multi-author blogs, so I'd pretty much like to do the same except using a border instead of a highlight. I tried using the same code, but editing it to my needs. Here's what I put into CSS Inserts:

Code:

.comment-author-sami .comment-container {border: solid 1px #ff3366 !important;}
But, this didn't work. Am I putting it in the wrong place, or changing the wrong things?

Thanks in advance for the help!

~Sami

lmilesw Sep 7, 2010 10:02 PM

It should work. Is sami your login name?

samij0 Sep 8, 2010 05:28 AM

Yes, that is my login name.

lmilesw Sep 8, 2010 07:51 AM

I just noticed something. Try changing your code to the following

HTML Code:

.comment-author-sami .comment-container {border: 1px solid #ff3366 !important;}
When using the border shorthand it should be in the order of width, style, color

samij0 Sep 8, 2010 07:58 AM

That worked! Wow, I never noticed that there had to be a specific order when using a border. Thanks so much, Larry! :)


All times are GMT -6. The time now is 11:35 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.