HOW TO CHANGE DEFAULT FONT?

Home Page 8DegreeThemes Forum Free Themes EightPhoto HOW TO CHANGE DEFAULT FONT?

Tagged: 

Viewing 2 reply threads
  • Author
    Posts
    • #19733
      nhamuyenhong
      Participant

      Hi, I from Viet Nam, because the font of this theme only suitable for English, with Vietnamese it will be error. How can I change all the font of this theme? Thank you for helping.

    • #19787
      8Degree Themes
      Keymaster

      Hi There,

      To change font of EightPhoto theme.
      You need to edit the theme file or make a child theme and add the new code to include the fonts.
      You can find many child theme builder plugins on https://wordpress.org/plugins/search/Child+Theme/
      Or,
      Find > eightphoto/functions.php file
      goto line no. 201
      You can see this line:

      
      $query_args = array( 
          'family' => 'Lato:300,400,700|Open+Sans:400,400italic,600,600italic,700,700italic,800,800italic|Yanone+Kaffeesatz:400,200,300,700|Playfair+Display|Unica+One|Pompiere'
      );
      wp_enqueue_style( 'eightphoto-google-fonts', add_query_arg( $query_args, "//fonts.googleapis.com/css" ) );
      

      This is the one used to include google fonts, you can add in above family array.

      After that you need to change fonts from styles.css file too.

      If you do not have coding ideas you can go for paid customisation with our support team and they will do it for you. Please fill this form and request customisation if you need

      Thanks!

    • #19929
      murkusdemon
      Participant

      hello,
      with css <head><style>
      body{
      font-size: 16px;
      }
      </style></head>
      Thank you,

Viewing 2 reply threads
  • You must be logged in to reply to this topic.

Our New Release - Eight Degree Innovative Corporate Theme (EDICT)

EDICT is a clean and innovative business WordPress theme. This business theme, built fully on theme options with Redux Framework, comes up with three stunning homepage demo layouts that can be imported with just one click of a button. Not to mention it also includes three elegantly designed blog, portfolio and header layouts.

Click on the below image for more detail.

Edict  Eight Degree Innovative Corporate Theme

Please post your questions in the respective forum above.

All questions related to our Pro theme will be answered in less than 24 hours. All questions related to our Free theme will be answered in less than 48 hours.
Our Facebook page is the best place to get updated with themes, documentation, question/answers. Please like us here: