WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Seperate Title text from body text (5 posts)

  1. jonulf
    Member
    Posted 4 years ago #

    I am using the Mystique theme by digitalnature, and if I change the size and font of a post title text or the body text, it changes both. I am wondering if anyone can help me separate the two, so that I can change one without the other being affected.

  2. s_ha_dum
    Member
    Posted 4 years ago #

    Do you have an URL?

  3. jonulf
    Member
    Posted 4 years ago #

  4. alchymyth
    The Sweeper & Moderator
    Posted 4 years ago #

    in style.css -
    post title:

    h2.title{
      font-weight: bold;
    font-size: 180%;
      margin:0 0 .2em 0;
      padding:0;
      text-shadow: #fff 1px 1px 1px;
    font-family:whatever;
    }

    post text:

    .post-content p{margin:0 0 .8em 0;padding:0;
    font-size:110%; font-family:whatever;}

    http://www.w3schools.com/CSS/pr_font_font-family.asp

  5. jonulf
    Member
    Posted 4 years ago #

    Awesome, thanks. Will I also be able to change the color in there as well?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags