Changing the colour of the header

This is a discussion on "Changing the colour of the header" within the Web Page Design section. This forum, and the thread "Changing the colour of the header are both part of the Design Your Website category.



Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Oct 4th, 2007, 19:01
New Member
Join Date: Oct 2007
Location: Karachi
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Question Changing the colour of the header

When i change the color of the header-post to Black, the color of the links also changes to black. I want to keep the color of the post header black, but change the color of all links to Blue.

Here is the excerpt from the CSS index code file,

a
{
color: #000000;
text-decoration: none;
}

a:hover
{
color: #D12424;
text-decoration: underline;
}

ul.links
{
list-style: none;
}

ul.links li
{
line-height: 2em;
}

ul.links li.first
{
}

p
{
line-height: 1.8em;
}

And yeah I am using Wordpress blog, my site is www.nakodari.com

Have any clue what to do ?
Reply With Quote

  #2 (permalink)  
Old Oct 4th, 2007, 21:19
Jack Franklin's Avatar
Resources Administrator

SuperMember
Join Date: May 2007
Location: Cornwall, England
Posts: 1,266
Blog Entries: 7
Thanks: 10
Thanked 4 Times in 4 Posts
Re: Changing the colour of the header

I'm confused here. What exactly is the problem? I see no problems with your current links?

Jack
Last Blog Entry: My Latest Project - Grilling Gurus... (Jun 11th, 2008)
Reply With Quote
  #3 (permalink)  
Old Oct 4th, 2007, 21:45
New Member
Join Date: Oct 2007
Location: Karachi
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Changing the colour of the header

In my website www.nakodari.com you will see a post saying "Under Constuction", i want this heading in Black color. But I want all the links in blue color. The problem is when i change the color of the header to blue then all the links turn blue. But when i change the header color to black, all the links turn black. What i want to do is, keep the color of the header black but change the color of the links to blue. How can i do this ?

Regards

Last edited by hunny; Oct 4th, 2007 at 21:48.
Reply With Quote
  #4 (permalink)  
Old Oct 5th, 2007, 02:12
Most Reputable Member
Join Date: Feb 2004
Location: Borneo
Age: 27
Posts: 1,602
Blog Entries: 2
Thanks: 0
Thanked 4 Times in 3 Posts
Send a message via Yahoo to Monie
Re: Changing the colour of the header

This is because your header is a link, so as the text below it.
You have already specify that in your CSS as Link, Visited, Hover, Active.

You should READ this!
It solved all your problem..
Last Blog Entry: ASP Programming Tips and Technique (Oct 26th, 2007)
Reply With Quote
  #5 (permalink)  
Old Oct 5th, 2007, 09:44
Emzi's Avatar
SuperMember

SuperMember
Join Date: Sep 2007
Location: Manchester
Age: 25
Posts: 147
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Changing the colour of the header

Put a DIV around your header link and call it, say, 'header' -

Code: Select all
<div class="header">header link here</div>
then add more link styles like so:

Code: Select all
.header a:link {color: #000000;}
.header a:visited {color: #000000;}
.header a:hover {color: #000000;}

Last edited by Emzi; Oct 5th, 2007 at 09:46. Reason: Wasn't specific in my explaination.
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] CSS changing page colour etc R8515198 Web Page Design 10 Nov 27th, 2007 00:54
Colour capitalsceven Graphics and 3D 5 Oct 13th, 2007 08:07
Help with changing colour of hyperlinks sing2trees Web Page Design 10 May 22nd, 2007 18:08
changing the scroll bar colour bruno89 Web Page Design 2 Oct 6th, 2005 15:12
The colour... gwx03 Webforumz Suggestions and Feedback 3 Nov 21st, 2004 09:48


All times are GMT. The time now is 04:19.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43