Bulletproof theme, changing the color of <b></b>

Skinning and designing Serendipity (CSS, HTML, Smarty)
Post Reply
JWalker
Regular
Posts: 177
Joined: Mon Sep 12, 2005 4:14 pm
Location: Botevgrad, Bulgaria
Contact:

Bulletproof theme, changing the color of <b></b>

Post by JWalker »

Hi,

Bulletrpoof theme, blue color set. How to change the color of <b>bold</b> text? Same question for the other color sets.

Regards,
Ivan Cenov
OKTO-7 Co., Botevgrad
Bulgaria
Don Chambers
Regular
Posts: 3657
Joined: Mon Feb 13, 2006 2:40 am
Location: Chicago, IL, USA
Contact:

Post by Don Chambers »

Which text specifically are you wanting to change?
=Don=
JWalker
Regular
Posts: 177
Joined: Mon Sep 12, 2005 4:14 pm
Location: Botevgrad, Bulgaria
Contact:

Post by JWalker »

The texts in the entry body (the contents of the entries) and the static pages.
Ivan Cenov
OKTO-7 Co., Botevgrad
Bulgaria
Don Chambers
Regular
Posts: 3657
Joined: Mon Feb 13, 2006 2:40 am
Location: Chicago, IL, USA
Contact:

Post by Don Chambers »

I presume you mean the links, since those are blue, and sometimes bold??

The first is the link color, and the second is the hover color.

Code: Select all

a {
    color: #1F5F7F;
    text-decoration: none;
}

a:hover {
    color: #505050;
}
=Don=
JWalker
Regular
Posts: 177
Joined: Mon Sep 12, 2005 4:14 pm
Location: Botevgrad, Bulgaria
Contact:

Post by JWalker »

No, no links,

when I write a posting I make some words bold among the others that are normal.
Ivan Cenov
OKTO-7 Co., Botevgrad
Bulgaria
Don Chambers
Regular
Posts: 3657
Joined: Mon Feb 13, 2006 2:40 am
Location: Chicago, IL, USA
Contact:

Post by Don Chambers »

If you use the wysiwyg editor, you can mark text to be any color you want.

If you are not using the wysiwyg editor, and your bold text is ALWAYS enclosed in <b></b> tags, you can add this to blue_style.css, substituting whatever color you want:

Code: Select all

.serendipity_Entry_Date b {color: #999999}
=Don=
JWalker
Regular
Posts: 177
Joined: Mon Sep 12, 2005 4:14 pm
Location: Botevgrad, Bulgaria
Contact:

Post by JWalker »

Hi,

Thanks a lot,

I use WYSIWYG editor, but want all <b>bolds</b> to be with the same color and not to set the color for every one bold piece of text, so

Code: Select all

.serendipity_Entry_Date b {color: #999999}
is best for me.
Ivan Cenov
OKTO-7 Co., Botevgrad
Bulgaria
Don Chambers
Regular
Posts: 3657
Joined: Mon Feb 13, 2006 2:40 am
Location: Chicago, IL, USA
Contact:

Post by Don Chambers »

Understood - that should work just fine then.
=Don=
Post Reply