• Hey WordPress,

    I know it is possible to change the default size of a post and I have done that. But this post’s title is pretty long, unusually long, and therefor I only want this specific post title changed.

    Is that possible through some sort of HTML, as I know
    works perfect? Please tell me it is possible, even it is through custom fields 🙂

Viewing 3 replies - 1 through 3 (of 3 total)
  • Once the post is published it will have an ID; with the ID you can write a specific CSS element to handle the size of the title’s font, etc. for example, if the post ID is 324:

    .post-324 .h2 {
      font-size: 60%;
    }

    NB: The actual specific elements and other identifiers will be completely Theme related, the above is just an example to start from.

    Thread Starter HotCocoa

    (@hotcocoa)

    Should I change that in style.css?

    You would need to add it to style.css; I would be very doubtful you would be changing anything to accomplish this.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Change Title Size for Specific Post’ is closed to new replies.