?

Log in

No account? Create an account

Previous Entry | Next Entry

SOLVED: Entry title colors

  • Sep. 26th, 2006 at 3:47 PM
Hi, I'm a beginner at this, and sorry if the question has been answered before, I've looked around at the previous entries to find a solution to the problem but still no success.



I'm using sorbet pink. I want to change the font color of the entry titles from pink to green. So I entered this on the custom CSS window:

.asset-name {
color: #B6DD77;
font-size: 25px;
}

It succeeds in changing the font size of all my entry titles, including the sticky-post but only changes the color of the sticky post title, and none of the other subject titles. They persevere in their pinkness. Grr.

I also want to change the "previous 7" link and the tags links but haven't figured out what the code for those is either.

Help?

I have a plus account.

Thanks in advance!

Comments

( 12 comments — Leave a comment )
redwolf
Sep. 26th, 2006 09:30 am (UTC)
You're on the right track. Where you got derailed is the sticky post header is text and the entry headers and links. The link colour was overwriting the text colour. Give this a shot:
/* entry heading size and colour */
.asset-name,
.asset-name a:link,
.asset-name a:visited,
.asset-name a:hover {
color : #B6DD77;
font-size : 25px;
}

/* previous-next link colour */
.prevnext a:link,
.prevnext a:visited,
.prevnext a:hover {
color : #B6DD77;
}
inabear
Sep. 26th, 2006 10:18 am (UTC)
Yipee! It's fixed. Thank you very much. :D
arnogseel
Jul. 2nd, 2008 07:25 pm (UTC)
hi!

if i want to change the font face of the entry header, what can i add to the code you gave us? (which work like a charm btw! thanks!)

i want it to be teh same font as "profile" in the side bar.

thanks in advance!

Edited at 2008-07-02 07:26 pm (UTC)
redwolf
Jul. 2nd, 2008 09:26 pm (UTC)
I could be wrong, but I thing you're using Trebuchet. Try adding the attribute:

font-family: "Trebuchet MS", Arial, sans-serif;

to any section that is reverting to the default font face. It may take a little while to track down all the overiding sections.
arnogseel
Jul. 2nd, 2008 09:28 pm (UTC)
you're right. for the most part, i am using trebuchet, which is what i want. but i think it'll be cool to have the entry header to be the same face font as "profile" "quotes" etc on the side bar.

is that possible?
arnogseel
Jul. 2nd, 2008 09:47 pm (UTC)
nm!
that code of yours work! i just had to change the font name!

thank you!
redwolf
Jul. 2nd, 2008 11:52 pm (UTC)
Re: nm!
w00t!

The trickiest part is tracking down the parts that override the font face. Always a joy when you have three or four other stylesheets to chase through before your own overrides.
arnogseel
Jul. 3rd, 2008 12:00 am (UTC)
Re: nm!
hehe!

ok, this is such an easy question that i dont even wanna post an entry about it but for the life of me i cannot seem to change the font color?!

can you check my CSS code fo rme?
redwolf
Jul. 3rd, 2008 12:06 am (UTC)
Re: nm!
body {
font-size: 13px;
font-color: #AFAFB0;
padding: 0;
font-family: "Trebuchet MS", Arial, sans-serif;
background: #7EAE9B;
color : #ff0000;
}


You obviously don't want to change it to red, but that's the bit to add that will set the colour. All links will have their own colours overrides, so those will also need to be changed if you're changing everything across the board.
arnogseel
Jul. 3rd, 2008 12:09 am (UTC)
Re: nm!
omg. i kept putting font-color. i was pulling my hair out! "it's so easy, why cant i get it?!"

thank you so much!
redwolf
Jul. 3rd, 2008 12:15 am (UTC)
Re: nm!
Running a Google search for the weirdness that's bugging you css font color will usually turn up an example of code that works.

The logic can be baffling at times. You will still occasionally find things that should work, but just get stuck for no obvious reason and you need to force them with !important. It can drive you nuts.
arnogseel
Jul. 3rd, 2008 12:28 am (UTC)
Re: nm!
i'm just glad i have ppl like you and mike to help ppl like me!

thank you!
( 12 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