Results 1 to 3 of 3

Thread: wordpress and css

  1. #1
    Senior Knight [AK]Nuts's Avatar
    Join Date
    Nov 2003
    Location
    San Francisco, California
    Posts
    2,738

    wordpress and css

    anyone comfortable with stylesheets? I can't get a specific h1 header to appear in a different font color and its pissing me off.

  2. #2
    Administrator
    August Knights
    Chief Executive Officer

    [AK]Palooka's Avatar
    Join Date
    Sep 2000
    Location
    Reno, NV
    Posts
    2,796
    Have you tried giving that specific <h1> an id? For example:

    HTML Code:
    <h1 id="whatever">
    Code:
    #whatever {
      color: red;
    }
    If the <h1> in question is within a <div> that has an id (<div id="whatever">), you could just do as follows:

    Code:
    #whatever h1 {
      color: red;
    }
    If that doesn't work, post your code.

  3. #3
    Senior Knight [AK]Nuts's Avatar
    Join Date
    Nov 2003
    Location
    San Francisco, California
    Posts
    2,738
    (I pasted my code, and as I was posting I saw not just the H1 and the #header h1 entries but also spoted a 2nd #header! bingo!

    Thanks!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •