Tagged: x
-
AuthorPosts
-
August 18, 2016 at 12:51 pm #1137201
arketyxParticipantHi,
I installed a WordPress site with Theme X on one domain.
One month after, i changed the domain throught WordPress admin, and then i revoke the theme x licence, changed the domain in Theme X Community admin panel to link the purchase code to the new domain.In the end, i linked the activation code to my wordpress and the the x worked again.
But i had one problem : an error about Access Control Origin : theme x was trying to load font from the previous domain.
I never understood why, but i resolved the first time thanks to your documentation by adding one line in htaccess to allow loading outside.
Now the problem is back and all solutions tried never worked.
What is more, the theme try to load font file from a place where there’s nothing : (mysite.com/wp-content/themes/x/fonts/OPTMIA.woff)Could you help me please ? I’m desperate ๐
August 18, 2016 at 2:04 pm #1137313
DarshanaModeratorHi there,
Thanks for writing in! Could you please try following this resource (https://www.maxcdn.com/one/tutorial/how-to-use-cdn-with-webfonts/).
Let us know how it goes.
Thanks!August 19, 2016 at 6:37 am #1138207
arketyxParticipantHi Darshana !
Thanks for the answer.I paste the code in both root htaccess of public_html folder, and htaccess from the wordpress directory.
The error stay the same ๐In the console, i have “Network error” with “unknown source”.
Do you want an acces to my WordPress to see more details ?
August 19, 2016 at 9:56 am #1138363
DarshanaModeratorHi there,
Once youโve done that, you should have a .htaccess that looks similar to this.

Hope that helps.
August 30, 2016 at 10:15 am #1153507
arketyxParticipantHi !
Nope i always have the same problem … even if there are these lines in my htaccess ๐August 30, 2016 at 11:23 am #1153606
ThaiModeratorHi There,
Would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:
โ Link to your site
โ WordPress Admin username / password
โ FTP credentialsDonโt forget to select Set as private reply. This ensures your information is only visible to our staff.
Thanks.
August 31, 2016 at 8:39 am #1155106
arketyxParticipantThis reply has been marked as private.August 31, 2016 at 10:31 am #1155275
LelyModeratorHi There,
Thank you for the credentials.
Upon checking, the issue is not Access Control Origin error but missing font file.
I can see that you have the following font declaration:@font-face { font-family: 'Conv_OPTIMA'; src: url('https://soins-domicile-palavas.fr/infirmiere-palavas/wp-content/themes/x/fonts/OPTIMA.eot'); src: local('โบ'), url('https://soins-domicile-palavas.fr/infirmiere-palavas/wp-content/themes/x/fonts/OPTIMA.woff') format('woff'), url('https://soins-domicile-palavas.fr/infirmiere-palavas/wp-content/themes/x/fonts/OPTIMA.ttf') format('truetype'), url('https://soins-domicile-palavas.fr/infirmiere-palavas/wp-content/themes/x/fonts/OPTIMA.svg') format('svg'); font-weight: normal; font-style: normal; }You current site is https://infirmieres-domicile-palavas.fr/ and that font declaration is pointing to another domain or might be your previous domain. to fixed that issue, please try to install a child theme. Then inside x-child folder, create fonts folder. Upload font files inside that folder and update above CSS to this:
@font-face { font-family: 'Conv_OPTIMA'; src: url('https://infirmieres-domicile-palavas.fr/wp-content/themes/x-child/fonts/OPTIMA.eot'); src: local('โบ'), url('https://infirmieres-domicile-palavas.fr/wp-content/themes/x-child/fonts/OPTIMA.woff') format('woff'), url('https://infirmieres-domicile-palavas.fr/wp-content/themes/x-child/fonts/OPTIMA.ttf') format('truetype'), url('https://infirmieres-domicile-palavas.fr/wp-content/themes/x-child/fonts/OPTIMA.svg') format('svg'); font-weight: normal; font-style: normal; }Hope this helps.
August 31, 2016 at 3:22 pm #1155662
arketyxParticipantHi,
The font-face was a trick to try to get the font from the previous domain.
I installed the child theme and then removed these lines.All works fine, thanks so much !
August 31, 2016 at 6:24 pm #1155863
RadModeratorYou’re welcome!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1137201 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
