Join the Soledad Facebook Users Group here
for Share, assistance, discussion, and Updates related to Soledad WordPress Theme.

If you can't create a new ticket - you can send us an email via our contact form and we will get back to you.

Okay
  Public Ticket #2164870
Generall options: removing all default google fonts without success
Closed

Comments

  • knoRRtze started the conversation

    After removing all default google fonts at 'Generall options' there are still 4 lines of source code including 'fonts.googleapis.com'. 5 custom font files are uploaded (opensans + roboto), no other fonts are used.

    How to eliminate the google font (and other not used fonts listed in 'penci-style-inline-css' like 'Mukta Vaani')?

    Thank you in advance
    Jürgen

  •  501
    Penci replied

    Hi,

    by default, pennews theme use  "Mukta Vaani'" font. Unfortunately, currently, this theme doesn't have option  to remove font default.

    If you want remove font default, you need change code


    Best Regards,

    PenciDesign

  • knoRRtze replied

    Thanks for your quick reply. The Pennews theme offers the option to remove 'Google Fonts' (GPRD policy) at 'Customizer > General options'. After activating this option, there are still 4 lines at the source code referring to fonts.googleapis.com:

    1) <link rel='dns-prefetch' href='//fonts.googleapis.com' />

    2) <link rel='stylesheet' id='penci-oswald-css'  href='//fonts.googleapis.com/css?family=Oswald%3A400&ver=5.2.3' type='text/css' media='all' />

    3) <link rel='stylesheet' id='vc_google_fonts_robotoregularwebfont-css'  href='//fonts.googleapis.com/css?family=Roboto-Regular-webfont&ver=5.2.3' type='text/css' media='all' />

    4) <link rel='stylesheet' id='vc_google_fonts_robotoslabboldwebfont-css'  href='//fonts.googleapis.com/css?family=RobotoSlab-Bold-webfont&ver=5.2.3' type='text/css' media='all' />

    How (and where) to remove this. We are using a hosted Wordpress Version and have no access to edit files direcly.

    All the best, Jürgen


  •  501
    Penci replied

    Hi,

    Please  send me your website managment information ( admin url site, username and password ) in order for me to have access to know the exact issue. We will take it a look on this help you.

    Best Regards,

    PenciDesign

  •   knoRRtze replied privately
  •  501
    Penci replied

    Hi,

    i logged on your site, but i can't edit code.

    Please go to pennews/inc/media.php with line is 172 add custom code https://prnt.sc/pc0aq3 to remove font default

    $array_fonts = array();
    

    Best Regards,

    PenciDesign