WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Changing heading colours on individual pages (3 posts)

  1. drog1998
    Member
    Posted 2 years ago #

    Hi there,

    can somebody help me to change my titles on my site to different colours on each page.

    For example if you go to this link you'll see the title is a blue block with white text.

    I want to change that block colour to say orange on one page red on another.

    I've looked around and the code i'm using is.

    .post-id-1072 #pagetitle .title h1{
        background: #f43bb9;
        }

    But it doesn't seem to work. Any help greatly appreciated.

    Thanks.

  2. johnbhartley
    Member
    Posted 2 years ago #

    You could use

    .page-id-1072 #pagetitle h1 {
           background: #000;
    }

    Just make sure you put it below line 215 in your CSS.

  3. drog1998
    Member
    Posted 2 years ago #

    Thanks that work perfectly.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.