Tagged: x
-
AuthorPosts
-
June 15, 2016 at 4:49 am #1042938
mathijs84ParticipantHi guys,
I am trying to update http://www.surfschoolpetten.nl
I made a staging site located @ http://www.staging10.surfschoolpetten.nl/
The site is now running on X version 4.0.4. When i update the site, There is an error with the functions.php file.
To get it working i deleted this section from the functions.php file on the staging site:
// // Font data. // $body_font_family_query = x_get_font_family_query( x_get_option( 'x_body_font_family', 'Lato' ) ); $body_font_weight_and_style = x_get_option( 'x_body_font_weight', '400' ); $body_font_weight = x_get_font_weight( $body_font_weight_and_style ); $headings_font_family_query = x_get_font_family_query( x_get_option( 'x_headings_font_family', 'Lato' ) ); $headings_font_weight_and_style = x_get_option( 'x_headings_font_weight', '400' ); $headings_font_weight = x_get_font_weight( $headings_font_weight_and_style ); $logo_font_family_query = x_get_font_family_query( x_get_option( 'x_logo_font_family', 'Lato' ) ); $logo_font_weight_and_style = x_get_option( 'x_logo_font_weight', '400' ); $logo_font_weight = x_get_font_weight( $logo_font_weight_and_style ); $navbar_font_family_query = x_get_font_family_query( x_get_option( 'x_navbar_font_family', 'Lato' ) ); $navbar_font_weight_and_style = x_get_option( 'x_navbar_font_weight', '400' ); $navbar_font_weight = x_get_font_weight( $navbar_font_weight_and_style ); $subsets = 'latin,latin-ext'; if ( x_get_option( 'x_custom_font_subsets', '' ) == '1' ) { if ( x_get_option( 'x_custom_font_subset_cyrillic', '' ) == '1' ) { $subsets .= ',cyrillic,cyrillic-ext'; } if ( x_get_option( 'x_custom_font_subset_greek', '' ) == '1' ) { $subsets .= ',greek,greek-ext'; } if ( x_get_option( 'x_custom_font_subset_vietnamese', '' ) == '1' ) { $subsets .= ',vietnamese'; } } $custom_font_args = array( 'family' => $body_font_family_query . ':' . $body_font_weight . ',' . $body_font_weight . 'italic,700,700italic|' . $navbar_font_family_query . ':' . $navbar_font_weight_and_style . '|' . $headings_font_family_query . ':' . $headings_font_weight_and_style . '|' . $logo_font_family_query . ':' . $logo_font_weight_and_style, 'subset' => $subsets ); $standard_font_args = array( 'family' => 'Lato:' . $body_font_weight . ',' . $body_font_weight . 'italic,' . $navbar_font_weight_and_style . ',' . $headings_font_weight_and_style . ',' . $logo_font_weight_and_style . ',700,700italic', 'subset' => $subsets ); $get_custom_font_family = add_query_arg( $custom_font_args, '//fonts.googleapis.com/css' ); $get_standard_font_family = add_query_arg( $standard_font_args, '//fonts.googleapis.com/css' );Now the staging site works again. But i am missing some fonts.
Please compare: http://www.surfschoolpetten.nl with http://www.staging10.surfschoolpetten.nl/
You will see the menu font and the slider is missing some style
June 15, 2016 at 4:50 am #1042944
mathijs84ParticipantThis reply has been marked as private.June 15, 2016 at 9:16 am #1043289
LelyModeratorHi There,
Upon checking, your staging site is missing this file:http://www.staging10.surfschoolpetten.nl/wp-content/themes/x/framework/css/site/stacks/integrity-light.css
See attached screenshot and try to login via FTP and check the file.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1042938 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
