Wordpress Themes - WP Forum at BFA
Click Here To DONATE! Support the theme development, get more attention and additional benefits based on your donation level. Your forum name will be highlighted.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Center area post/pages » Comments, trackbacks & pings »

[SOLVED] Border Around Author's Comments


Build custom WP THEMES, without
coding.
Click here for THEMEFRAME

From the author of Atahualpa, the #1 most
downloaded (700,000+) theme @ wordpress.org
  #1  
Old Sep 7, 2010, 06:29 PM
samij0
 
18 posts · Nov 2009
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
  #2  
Old Sep 7, 2010, 10:02 PM
lmilesw's Avatar
lmilesw
 
10,071 posts · Jul 2009
Central New York State USA
It should work. Is sami your login name?
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #3  
Old Sep 8, 2010, 05:28 AM
samij0
 
18 posts · Nov 2009
Yes, that is my login name.
  #4  
Old Sep 8, 2010, 07:51 AM
lmilesw's Avatar
lmilesw
 
10,071 posts · Jul 2009
Central New York State USA
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
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #5  
Old Sep 8, 2010, 07:58 AM
samij0
 
18 posts · Nov 2009
That worked! Wow, I never noticed that there had to be a specific order when using a border. Thanks so much, Larry!

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Comments by Author Geek Comments, trackbacks & pings 2 Aug 17, 2010 11:17 AM
Styling %author% and %author-posts-link% Aris Post-Kicker, -Byline & -Footer 2 Jul 6, 2010 10:34 PM
[SOLVED] Author comments can't be highlighted? Kazna Comments, trackbacks & pings 2 May 28, 2010 11:24 AM
[SOLVED] how to create a CSS insert for border-left border-right on menu tabs aliengirl Page & Category Menu Bars 3 Jan 7, 2010 08:22 PM
[SOLVED] How to apply "strong" to the comments author name? wmoura Comments, trackbacks & pings 2 Jun 16, 2009 04:05 AM


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


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