WordPress.org

Forums

WP Google Fonts
Color and CSS (1 post)

  1. Ferruccioboss
    Member
    Posted 11 months ago #

    I'm running in this site WordPress 3.8.2, Enfold Theme and WP Google Font with this custom CSS code to have the text tagged <h1> automatically red (#be1621):

    @font-face {
       font-family: "Ostrich Sans Rounded Medium";
    
     src: url("http://www.wirelessforum.it/SMW2014/ostrich-rounded.eot");
    
       src: local("Ostrich Sans Rounded Medium"), url("http://www.wirelessforum.it/SMW2014/ostrich-rounded.ttf") format('truetype');
    }
    
    .main_menu ul:first-child>li>a {
     font-family: Ostrich Sans Rounded Medium, Verdana, sans-serif;
    font-size: 25px;
    color: black
    }
    
    h1 {
     font-family: Ostrich Sans Rounded Medium, Verdana, sans-serif;
    font-size: 35px;
    color: #be1621
    }
    
    .avia_textblock h1 {
    color: #be1621
    }
    
      @font-face {
       font-family: "Open Sans Condensed";
    }
    
    .avia_textblock ul li {
    font-family: Open Sans Condensed, Verdana, sans-serif;
    font-size: 20px;
    }

    I have the same custom code in another site with WordPress 3.9.1, the same Enfold theme but it doesn't work.
    (The h1 text are red color becuse I've used the tag: <span style="color: #be1621;"> h1 text </span>)
    Can someone help me? Thank you

    https://wordpress.org/plugins/wp-google-fonts/

Reply

You must log in to post.

About this Plugin

  • WP Google Fonts
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

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