Archived

This topic is now archived and is closed to further replies.

  • 0

How to do fonts in base/child theme?


Question

Posted · Report post

Hello, I have framework 2.4.1, and I've got the child (base) theme installed and activated for my css customizations.  I also have google fonts installed as a plugin and they work when I call them from the "Typography" section.

 

However, what I can't figure out is how to call them from within the child theme.  When I try this:

 

.masthead .masthead-title {
    font-family: "Cabin Condensed",sans-serif;
    font-weight: 500;
    font-style: bold;
    color: #FFB90F;
    font-size: 58px;
    text-shadow: 3px 3px 4px rgb(85, 85, 85);
} 

The font defaults to sans.  I can put any google font in that first slot, and it doesn't work.  The other stuff, i.e., color, weight, shadow all work fine.

I'm sure this is super elementary, and I just don't know what I am doing wrong.  Thanks in advance for help.

Share this post


Link to post
Share on other sites

2 answers to this question

Posted · Report post

Hi,

 

Not sure what you're referring to when you say "Call them within the child theme", you use the Typography settings.

However, if you're referring to using multiple Google webfonts then you will need to view the instructions given here.

http://www.google.com/fonts#UsePlace:use/Collection:Cabin+Condensed

Share this post


Link to post
Share on other sites

Posted · Report post

That's the deal.  Thanks man!

Share this post


Link to post
Share on other sites