Reply To: Give every h1-entry title an id?

Home Forums Support Give every h1-entry title an id? Reply To: Give every h1-entry title an id?

#165939
Tom
Lead Developer
Lead Developer

Hi Julia,

It’s possible, but it would be difficult.

Instead, I would use the body class.

Each page is given a unique class with the page ID – you can see it by using your Inspect Element tool in your browser.

The <body> element should have a class like this: page-id-xx

“xx” being the ID of the page.

So you can target individual entry-title elements like this:

.page-id-xx .entry-title {
    /* CSS to make this one entry title different */
}

Let me know if you need more info 🙂