?

Log in

No account? Create an account

Previous Entry | Next Entry

I looked through the tags and couldn't find the answers to these, so my apologies if any of this has been covered. I have a paid account and some custom CSS.

1. When someone comments and uses italics, I'd like the italics to display in a different color, but I'd like this to apply for comments only, not in the body of posts.

2. Whenever I link, it automatically bolds/underlines the text, and I'd like the font weight to stay at normal..but I can't figure out where to put the css to override this.

Thanks!

Comments

( 5 comments — Leave a comment )
av8rmike
Apr. 20th, 2009 01:24 pm (UTC)
For #1, you could do something like:
#comments i { color: #xxxxxx;}
Although, to be semantically correct, you should be checking for <em> tags instead, but you could do both:
#comments i, #comments em { color: #xxxxxx;}
(Be sure to change the xxxxxx to the color you want.)

#2: Looks like Zen bolds all the links on the page by default.
a { font-weight: normal;}
Or did you want it to affect only links in entries?
pinkspots
Apr. 20th, 2009 02:27 pm (UTC)
Wonderful!! Both worked perfectly. I did use both the em and i tag instructions.

Thank you!
kopernik
Jul. 6th, 2011 02:26 am (UTC)
This is in response to an old comment, but I thought I'd take a shot at it anyway.

You posted this:
#2: Looks like Zen bolds all the links on the page by default.
a { font-weight: normal;}
Or did you want it to affect only links in entries?


And I was just wondering how you do change the font-weight for just links in entries. I don't know a whole lot about CSS - I've copied and pasted bits here and there and not much more - but I've been searching for this off and on for a while now with no success.

No worries if you're not around or just have no time to answer. Thanks for the already helpful bit of information.
av8rmike
Jul. 7th, 2011 04:20 pm (UTC)
No problem. If you want to change the font weight of links just in entry text (not including the link bar):
.asset-body a { font-weight: normal; }
kopernik
Jul. 7th, 2011 06:53 pm (UTC)
Thanks so much!
( 5 comments — Leave a comment )

Latest Month

March 2016
S M T W T F S
  12345
6789101112
13141516171819
20212223242526
2728293031  

S2 Help Communities

Tags

Powered by LiveJournal.com
Designed by chasethestars