WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Different Colour Heading Per Page (6 posts)

  1. TouristHQ
    Member
    Posted 1 year ago #

    Hi guys

    you know the name of the page is displayed as a heading on the page?

    How can i make it so it's a different colour per page?

    ok so http://www.touristhq.com/africa on this page the heading is africa and it's in black if i wanted the word africa in green

    but on http://www.touristhq.com/asia/ the heading is the word asia in black but i wanted that in red

    etc....

    Does anyone have any ideas or could i get a plug in to do this

  2. Subharanjan
    Member
    Posted 1 year ago #

    Paste these code at the extreme bottom of your current active theme's style.css file. ( here: /wp-content/themes/magazine-basic/style.css )

    #post-159 h1.entry-title {
        color: #0F0;
    }
    #post-157 h1.entry-title {
        color: #F00;
    }
  3. TouristHQ
    Member
    Posted 1 year ago #

    Woo! That worked!

  4. TouristHQ
    Member
    Posted 1 year ago #

    If I want to do it on more posts where do I find the post number?

  5. TouristHQ
    Member
    Posted 1 year ago #

    never mind. i've found it. you just have to view source to get the post number.

    Thanks a bunch

  6. Subharanjan
    Member
    Posted 1 year ago #

    :) Glad... you found it !!

Topic Closed

This topic has been closed to new replies.

About this Topic