Page 1 of 1
Bulletproof theme, changing the color of the hyperlinks
Posted: Fri Aug 31, 2007 12:55 pm
by JWalker
Hi,
I use the Bulletproof theme, blue color set. Where should I edit in order to change the color of the links, that are inserted in the entries' body ? Please tell me the css file and at which line the change should be made; I have no any knowledge of the CSS stuff.
Re: Bulletproof theme, changing the color of the hyperlinks
Posted: Fri Aug 31, 2007 1:49 pm
by yellowled
JWalker wrote:I use the Bulletproof theme, blue color set. Where should I edit in order to change the color of the links, that are inserted in the entries' body ? Please tell me the css file and at which line the change should be made; I have no any knowledge of the CSS stuff.
In blue_style.css:
Code: Select all
a {
color: #1F5F7F;
text-decoration: none;
}
a:hover {
color: #505050;
}
a is for any link, a:hover is for, yes, exactly, any link hovered with the mouse.
However, if you only want to change the color for links inside the entries' bodies, you'll want to add this code (at the very end of blue_style.css):
Code: Select all
.serendipity_entry_body a {
color: #1F5F7F;
}
.serendipity_entry_body a:hover {
color: #505050;
}
Now, if you add this code and change the colors to your liking (see
http://www.w3schools.com/css/css_colors.asp for a detailed explanation on what these funny numbers mean), it will only style links inside the entries' bodies.
Remember that these changes might be overwritten by a future BP update, so make sure you have a backup!
YL
Posted: Fri Aug 31, 2007 2:04 pm
by JWalker
Thanks a lot for your help, I did it.