Page title to have 2 different colours

  • Unknown's avatar

    Hello,
    I’m new to building a website and require help in regards to my page title.
    I know you can remove the page title and create a new one in the body of the page, however I’d prefer to just be able to edit the page title directly.

    The page title is – Why S…Silk?
    and I need the ‘S’ to be blue.
    Can anyone please show me the CSS that need to be entered, along with what I need to insert and where into the coding.

    The below works to add an ‘S’ into the title before the page title, however I need it to be added between two words in the title.
    .page-id-1524 .entry-title:before {
    content: ‘S’;
    color: #123456;
    }

    Thank you kindly

  • Hi there,

    Judging by the site connected to your WordPress.com account it looks like you’re using the open-source WordPress software and therefore you need to seek help at these forums:

    https://wordpress.org/support/forums/

    The forum you’re currently posting is for WordPress.com hosted sites only. If you want to know more about the differences between WordPress.com and the WordPress software you can read this document:

    WordPress.com vs. WordPress.org

  • Unknown's avatar

    Hi There,

    Thank you kindly I’ll post there.

  • The topic ‘Page title to have 2 different colours’ is closed to new replies.