WordPress.org

Forums

Attitude
Customizing Slogan Font (1 post)

  1. belindablakley
    Member
    Posted 11 months ago #

    I'm having trouble customizing the home slogan font. I want the "slogan 2" font to be larger and the same font family as the "slogan 1". This is the CSS I've added in the custom box:

    .slogan-wrap .slogan span {
    font: 18px;
    font-family: inherit;
    display: inline;
    }

    The display:inline is working. but the size and font-family isn't working.

    Also, this code doesn't seem to be working either:

    @media screen and (min-width: 768px) .slogan-wrap .slogan span {
    display: block;
    }

    I can't find any mistakes in my code (although, I don't know if i'm using inherit correctly). Is there something else that is overriding the code, and if so, how do I get it to work?

Reply

You must log in to post.

About this Theme

About this Topic

  • RSS feed for this topic
  • Started 11 months ago by belindablakley
  • This topic is not resolved
  • WordPress version: 3.9.1

Tags