Okay
  Public Ticket #2330472
Font
Closed

Comments

  • MiLenhart started the conversation

    I can't change the font anymore. When I change the font in the backend under Salient>Typography>General HTML settings it doesn't change on the website. The only thing I can change is the font size. What should I do?

  •  3,022
    Andrew replied

    Hi there,

    Can you investigate if the same issue happens with all other plugins deactivated. You can do that by deactivating other plugins and if the issue stopped then you can identify culprit by activating one after the other.

    Thanks.

  • MiLenhart replied

    I deactivated all plugins, but the font still doesn't change.

  •   Andrew replied privately
  •   MiLenhart replied privately
  •   Andrew replied privately
  • MiLenhart replied

    Hey, I know I can change the font size. But the font doesn't change if I change it in the backend. 

  •  3,022
    Andrew replied

    Hi MiLenhart,

    Sorry for late response.

    Use the following custom css to change font family:

    h1.vc_custom_heading {
        font-family: sans-serif !important;
    }
    

    Hope this helps.

  • MiLenhart replied

    This helps with the h1 but h2 doesn't change. What should I write in CSS to change the lower level headings (h2-h6)? 

  •  3,022
    Andrew replied

    Hi MiLenhart,

    In regards to the issue, the font style not changing is actually an override. example for h2, there is custom inline css loading "Abril Fatface" after the set font loads. (See image)

    2471333135.png


    Do you have any idea of where the inline css is coming from? removing it and also any other added code that relates to it will solve the typography settings issue.

    Let me know how it goes.

    Kind regards,

  • MiLenhart replied

    Hey, no I have no Idea where it comes from, I stayed away from the CSS of the homepage. 

  •  3,022
    Andrew replied

    Hi MiLenhart,

    Update the earlier sent css like below:

    .vc_custom_heading {
        font-family: sans-serif !important;
    }
    

    Hope this helps.

  • MiLenhart replied

    It's working! Thank you so much!