This topic has 45 replies, 4 voices, and was last updated 2 years, 10 months ago ago by Olga Barlow
This is weird. It gets back to the other text afterwards.. What is happening? LOL
I tried to delete again the font folder. publish then the text on firefox changed again haha
Hello,
Maybe browser cache? Try to remove folder, resave settings and clear the caches.
If you don’t move site again you should not have issue with fonts.
Regards
i tried this on firefox…. text different
google chrome works ok now but firefox……
hello, this is very weird. now both firefox and chrome doesnt render my font properly… what seem to be the problem?
Hello,
Take my apologies for the delay in answering.
Font is blocked by browser https://prnt.sc/13cfydk
Contact your hosting provider and ask to improve server settings to avoid this https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS/Errors/CORSMissingAllowOrigin
Regards
Hi Olga,
Contacting them now. But this also occurs repeatedly on Chrome and Firefox.
Hello,
If you inspect the site using dev tools and see that error then you need to fix the server settings and unblock fonts. In other case you will see the default font and we can do nothing with this.
Regards
by the way, the other site that i’m managing has xstore and also hosted on the same server. Why only this website? http://prntscr.com/13g5oud please see the link.
showcasecarpet is working well. it has almost the same text/font settings with the other site that we are developing. why we are getting this problem at onthecorner?
just realised. i don’t think it’s a server problem since showcasecarpet were hosted on the same server… the site doesnt have any problem rendering text.
Might be a code problem with the codes you gave me? is it possible to check the childtheme functions?
i’ll put the old codes and see what happens..
old childtheme functions
<?php
add_action( 'wp_enqueue_scripts', 'theme_enqueue_styles' );
function theme_enqueue_styles() {
wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css', array('bootstrap'));
if ( is_rtl() ) {
wp_enqueue_style( 'rtl-style', get_template_directory_uri() . '/rtl.css');
}
wp_enqueue_style( 'child-style',
get_stylesheet_directory_uri() . '/style.css',
array('parent-style', 'bootstrap')
);
function sv_remove_product_page_skus( $enabled ) {
if ( ! is_admin() && is_product() ) {
return false;
}
return $enabled;
}
add_filter( 'wc_product_sku_enabled', 'sv_remove_product_page_skus' );
}
/* Change Description Tab Title & Heading To Product Name
* http://gerhardpotgieter.com/2013/09/04/woocommerce-change-description-tab-title-heading-product-name/
*/
// Change the description tab heading to product name
add_filter( 'woocommerce_product_description_heading', 'wc_change_product_description_tab_heading', 10, 1 );
function wc_change_product_description_tab_heading( $title ) {
global $post;
return $post->post_title . ' Audio Sample';
}
// Add action to hook into the approp
add_filter( 'woocommerce_placeholder_img_src', 'growdev_custom_woocommerce_placeholder', 10 );
/**
* Function to return new placeholder image URL.
*/
function growdev_custom_woocommerce_placeholder( $image_url ) {
$image_url = 'http://onthecornermanila.com/images/placeholder.png'; // change this to the URL to your custom placeholder
return $image_url;
}
// To Move price underneath title use code
remove_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_price', 10 );
// remove action which show Price on their default location
add_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_price', 20);
// add action with Priority just more than the woocommerce_template_single_title ;
add_filter('woocommerce_single_product_image_thumbnail_html','wc_remove_link_on_thumbnails' );
// Change the Single Product Image Click
function wc_remove_link_on_thumbnails( $html ) {
return strip_tags( $html,'<img>' );
}
ok. i tried restoring the old theme function for the childtheme to no avail…
it works then it gets back to the default text.
we don’t have problem with showcasecarpet on both firefox and google.
settings on both site are almost identical!
Hello,
Please, don’t spend time trying to change something in the theme because it won’t help.
Read this topic https://stackoverflow.com/questions/33197751/fonts-are-blocked-in-web-client-cors
Contact your hosting provider if you want to solve the issue for your site and ask them to fix server settings for that WP installation.
Regards
Hello. contacted them. They added htaccess on the site itself..
Will keep you updated.
Hello,
Ok, sure. Feel free to contact us if you need any help from our side.
Regards
Just an update.
Firefox still blocks the font.
Not sure what is really happening.
The live site doesn’t have problem with regards to font on the theme.
Why i’m still getting this on the dev site?
Hello,
It would better to ask your hosting provider about this. If font blocked because of CORS policy theme support could do nothing with this because it’s server setting.
Regards
Hello Olga,
If this was a server setting why showcasecarpet.com.ph are working fine?
They addressed the CORS problem. This is there answer.
Hello,
Please contact your theme’s developer and have them look into whether the issue with CORS is addressed with the changes that were made.
Should you have further questions or concerns, please feel free to update this ticket.
Regards,
Trevor
I dunno what’s happening here. I need to launch the site this june i want this to be fixed soon..
Now, chrome is blocking it as well…. I dont think this is a server problem.
I checked showcasecarpet.com.ph on chrome and it’s all good..
firefox and chrome were cache cleared… Still getting this problem.
Can someone check the site admin?
You must be logged in to reply to this topic.Log in/Sign up