WordPress.org

Ready to get started?Download WordPress

Forums

Customizr
Tagline and home feature title fonts (4 posts)

  1. mkellogg11
    Member
    Posted 11 months ago #

    I installed the google fonts plug in and I want my site tagline and home feature page titles to have different fonts but they keep changing to the same font. How I can make them different fonts?

  2. ElectricFeet
    Member
    Posted 11 months ago #

    I changed the tagline to normal weight using the following:

    /* Take bold off tagline*/
    .navbar-wrapper .navbar h2 {
    font-weight: 400;
    }

    You will need to change it to change your font.

    My featured page titles are:

    .marketing h2 {
    margin: 0;
    font-weight: 300;
    font-size: 25px;
    line-height: normal;
    }

    Again, you'll need to modify.

  3. krown24
    Member
    Posted 10 months ago #

    This was great! But when you scale down or go mobile, the text reverts to the default, any ideas?

  4. ElectricFeet
    Member
    Posted 10 months ago #

    Yes, you'll need to wrap the code in a media query too. For example:

    @media (max-width: 767px) {
      .marketing h2 {
      margin: 0;
      font-weight: 300;
      font-size: 25px;
      line-height: normal;
      }
    }

    There's some background on media queries here.

Reply

You must log in to post.

About this Theme

About this Topic