Header color

  • Author
    Posts
  • #48451

    mdcft
    Member

    Hi,

    is there code to change the header color for each post? H1 for example

    Thanks

    #48585

    yuriyportnykh
    Theme Author

    Hi. You can use the following code to change all h1 tags on the site:
    body.single #main h1 { color: #6E947D; }

    It’s also possible to use different color on each post. You would need to check the body tag class to define the css code. For example, the following code changes h1 tag color on this page only: http://nexusdemo.wordpress.com/2010/09/15/the-morning-dew/

    body.postid-273.single #main h1 { color: #6E947D; }

The topic ‘Header color’ is closed to new replies.