• Resolved Ains

    (@ains)


    Hi

    I’ve started using p:first-of-type and p:first-of-type:first-letter to make the first paragraph stand out.
    It works fine, the only issue being that it effects the other sections in the post that are “p” tagged: Comments, Comment form, and my subscribe form (although I’ve worked around this by putting the text in a header tag)

    Here’s an example: Live Painting & New Challenges

    Does anyone know how I can edit things so only the first paragraph of the post is effected and nothing else in any of the other sections?

    Thanks in advance
    Ainsley

Viewing 2 replies - 1 through 2 (of 2 total)
  • in your style.css line #626, change –
    #content .post p:first-of-type {
    to
    #content .inside > p:first-of-type {

    Thread Starter Ains

    (@ains)

    YESSS!
    That’s awesome – did the job perfectly!
    Thank you Shadez!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘First-of-type effecting everything.’ is closed to new replies.