Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Other Introductory Paragraph

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #31661
    mwdewitt
    Member

    In Chris Coyier’s videos #25,26, and 27 (Designing for WordPress), he gives the CSS code for creating an introductory paragraph for his website. Here is the code:

    /*
    TYPOGRAPHY
    */

    p .li {
    font-size: 1.2em;
    line-height: 1.2em;
    margin-top: 0;
    margin-right: 0;
    margin-bottom: 10px;
    margin-left: 0;
    }

    p#intro-paragraph {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 2.0em;
    font-style: italic;
    line-height: 1.4em;
    margin-top: 5px;
    }

    p#intro-paragraph span {
    font-size: 2.4em;
    font-weight: bold;
    }

    p#intro-paragraph em {
    color: #990000;
    }

    But he does not show you how to properly code the paragraph in the index.php document. I was hoping someone could help me figure out what code to write to make the introductory paragraph a reality. Thanks in advance!

    #59782
    TheDoc
    Member

    This is crazy example that is can intro.

    #59784
    mwdewitt
    Member

    Thank you. That works perfectly. I was like, “Wow,” because the words are humongous compared to everything else on my page. Time to correct some of the styling. Thanks, again!

    #59785
    TheDoc
    Member

    No problem!

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘Other’ is closed to new topics and replies.