Oshine Knowledge Base


Options Panel

  • Hamburger Icon Settings
  • Options Panel Overview
  • General Settings
  • Logo
  • Background Settings
  • Color Settings
  • Typography Settings – Typehub
  • Responsive Typography Settings
  • Global Site Layout and Settings
  • Top Header Settings
  • Left Header Settings
  • Mobile Menu Settings
  • Footer Settings
  • Blog Settings
  • Portfolio Settings
  • Shop Settings
  • Contact Settings
  • Single Blog Hero Section
  • Single Shop Hero Section
  • Import/Export
  • Performance
  • GDPR Compliance

Others

  • Custom Font Addition ( For theme version below 6.3 )
  • Import Demo Contents Manually – Without any plugins
  • Import Demo Content – Old (For theme version below 5.1)
  • Menus
  • Update Plugins
  • Update Theme
  • Translating the Theme and Plugins
  • Changelog
  • Pointers to Improve Performance
  • Mega Menu
  • How to use Instagram in Tatsu Gallery Module
  • Generating Universal Google Analytics Tracking Id and Using It with Oshin Theme
  • Generate Google Maps API Key and Display Maps in Oshine
  • Support Renewal Instructions
  • How to use a Separate logo for Retina Devices with Oshine?

Getting Started

  • Import Demo Content
  • Install & Activate Required Plugins
  • Upload, Install & Activate Theme
  • Server Requirements
  • How to set up Oshine Theme and Import a Demo?

Tatsu 3.0+ Versions

  • Tatsu 3.0 Docs

Portfolio

  • Dual Carousel Portfolio Template
  • Horizontal Carousel Portfolio Template
  • Portfolio Navigation
  • Creating a Right Floating Sidebar
  • Creating a Left Floating Sidebar
  • Creating a Right Fixed Sidebar
  • Creating a Left Fixed Sidebar
  • Creating Portfolio Sliders
  • Creating Lightbox Image Portfolio
  • Creating Lightbox Video Portfolio
  • Creating Lightbox Gallery Portfolio
  • Portfolio Grid
  • Create a Portfolio Post Item
  • Portfolio Overview
  • Install BE Portfolio Post Plugin
  • Title Carousel Portfolio
  • Split Screen Portfolio

Tatsu 1x – 2x Versions

  • Copy and Paste Modules
  • Sections
  • Row
  • Columns
  • Modules
  • Actions and Templates
  • Migrating to Oshine 5.0
  • Tatsu Keyboard Shortcuts
  • Overview
  • Multi-Select Operations
  • ALT + Drag Drop to Duplicate
  • Copy and Paste Module Styles
  • Shape Dividers
  • Global Sections
  • Live Spacing Controls

FAQ's

  • How to enable Tatsu header and footer in Oshine theme
  • Sorry you are not allowed to upload this file type – Error
  • How do I add Custom Icons?
  • How do I add Custom Fonts in typehub ?
  • How to make the button in my header/footer open in new tab ?
  • How do I edit the labels ( ’Client’, ‘Project Date’, ’Category’ ) of the Portfolio Details module ?
  • Missing style sheet / style.css error when installing the theme ?
  • “Failed to Import” Messages while importing demo data ?
  • Getting “Are you sure you want to do this?” error after uploading theme ?
  • I am Unable to update Master Slider. The purchase code I enter is not working?
  • How do I update the theme manually / I am not getting the Automatic update notification, how do I update the theme?
  • How do I set up grid gallery of images in a single portfolio page.
  • How do I setup Dual Carousel Portfolio Page?
  • How do I link a portfolio thumbnail to a lightbox?
  • How do I link video to an Image in Lightbox?
  • All the menu links in my “Single Page Site”, are always highlighted. What am I missing?
  • I am getting “Google Map API key error” in my page with Google Maps Module ?
  • How to make the Icon in my header/footer open in new tab?
  • The elements in my page are not working when I navigate to the page using the menu, but they show up on Page Reload/Refresh ?
  • How do I Add / Change Icon Links in Footer / Bottom Widget Area / Header ?

BE Page Builder – Deprecated

  • Modules
  • Columns
  • Row
  • Sections
  • Page Builder Overview

Shop

  • Woocommerce Plugin – Documentation
  • Set up Shop Pages

One / Single Page Website

  • Set Up Single Page Site

Hero Section

  • Hero Section Settings
  • Hero Section Overview

Gallery

  • Carousel Gallery
  • Grid Gallery
  • Gallery Overview

Portfolio, Gallery

  • Portfolio and Gallery – Difference

Blog

  • Read More link
  • Blog Settings
  • Home
  • Docs
  • Options Panel
  • Typography Settings – Typehub

Typography Settings – Typehub

Table of Contents
  • Typehub
    • Font Values –
    • Font Schemes –
    • Responsive Breakpoints –
    • Uploading a custom Font –
    • Adding a custom Font programatically using APIs –
    • Typehub Global Settings –

Typehub #

Typehub plugin is used to control the typography of various elements across the site. Navigate to the Typehub screen on your wordpress dashboard to modify the Font settings. In this article we will explain each aspect of the plugin and how you can effectively use them for building your website.

Font Values – #

This is the main tab in which you have to change the font values of different elements in the site. Click on the “?” icon beside the Label in the “Font Values” screen to see a preview of the corresponding setting.

Font Schemes – #

With Typehub font schemes you can set a particular scehem active and inactive. When you set a font scheme active it is made available to use in tatsu.

Responsive Breakpoints – #

Desktops – Screen size > 1377px.
Laptops – Screen size between 1024px – 1377px
Tablets – Screen size 768px – 1024px
Mobile – Screen size < 768px.

Uploading a custom Font – #

In Typehub 2.0, we have added provision in the plugin to upload custom fonts. Follow the simple steps below to generate and upload your custom fonts.

  1. Go to the Custom Fonts tab in the TypeHub Plugin
  2. Upload your font’s source OTF / TTF file to generate the webfont kit and click on Generate.
  3. Generate web font and download the package
  4. Go to the Custom Fonts tab inside Typehub and upload the webfont package.
  5. That’s it, you can now use your custom font for any of the font options.

Adding a custom Font programatically using APIs – #

To add a custom font, simply register the font using the “typehub_register_font” hook. A sample code that you can add to the functions.php file of your child theme, is shown below.

add_action( 'typehub_register_font', 'my_typehub_custom_font' );
function my_typehub_custom_font() {
$font = array(
'name' => 'CUSTOM FONT NAME',
'src' => get_stylesheet_directory_uri().'/fonts/fonts.css',  // URL of your font's stylesheet. Assuming its inside the fonts folder of your child or main theme
'variants' => array(
'300' => 'Light',
'400' => 'Normal',
'500' => 'Medium',
'700' => 'Heavy'
)
);
typehub_register_font( $font );
}

Typehub Global Settings – #

Use the settings Icon in the Top Right corner to add your Type Kit Id and Save the settings. You will then be able to use your Type Kit Fonts. Use the settings Icon in the Top Right corner to download the google fonts that are used to your local server. Any new fonts added / changed can be downloaded once you have SAVED the typehub Settings.

What are your Feelings
Share This Article :
  • Facebook
  • Twitter
  • LinkedIn
  • Pinterest
Table of Contents
  • Typehub
    • Font Values –
    • Font Schemes –
    • Responsive Breakpoints –
    • Uploading a custom Font –
    • Adding a custom Font programatically using APIs –
    • Typehub Global Settings –

Oshine Knowledge Base is proudly powered by WordPress