Okay
  Public Ticket #201047
Custom CSS to Change ALL fonts except body
Closed

Comments

  • Judson started the conversation

    I want to replace ALL typography EXCEPT <body> with the following webfont:

    Can I do this through the General Settings CSS field?

    @font-face {

    font-family: 'museo_slab500';

    src: url('http://www.mccomborthodontics.com/fonts/Museo_Slab_500_2-webfont.eot');

    src: url('http://www.mccomborthodontics.com/fonts/Museo_Slab_500_2-webfont.eot?#iefix') format('embedded-opentype'),

    url('http://www.mccomborthodontics.com/fonts/Museo_Slab_500_2-webfont.woff') format('woff'),

    url('http://www.mccomborthodontics.com/fonts/Museo_Slab_500_2-webfont.ttf') format('truetype'),

    url('http://www.mccomborthodontics.com/fonts/Museo_Slab_500_2-webfont.svg#museo_slab500') format('svg');

    font-weight: normal;

    font-style: normal;

    }

    @font-face {

    font-family: 'MuseoSlab500Italic';

    src: url('Museo_Slab_500italic-webfont.eot');

    src: url('Museo_Slab_500italic-webfont.eot?#iefix') format('embedded-opentype'),

    url('Museo_Slab_500italic-webfont.woff') format('woff'),

    url('Museo_Slab_500italic-webfont.ttf') format('truetype'),

    url('Museo_Slab_500italic-webfont.svg#MuseoSlab500Italic') format('svg');

    font-weight: normal;

    font-style: normal;

    }

  •  8,939
    Tahir replied

    Hey Judson!

    Please see Salient Theme Options -> Typography section . There you can set different fonts for body as well as other tags. 

    Thanks


    ThemeNectar Support Team 

  • Judson replied

    This is a custom font!

    I have uploaded the files and that code works when used in the CSS file.  I want to use the General Settings field so when I make updates I don't need to change the CSS all over again

  •  8,939
    Tahir replied

    Hey Judson!

    You can use third-party font plugins to add the fonts , that way you wont lose the changes. 

    Thanks


    ThemeNectar Support Team 

  • Judson replied

    I'm sorry, but that is not the optimal way to do this.  Can you please ask the Them Nectar creators?  I know this is an easy fix.

  •  8,939
    Tahir replied

    Sure, I have flagged the ticket for the developer :) .

    Cheers


    ThemeNectar Support Team