Support Forums for LiveMesh Themes & Plugins › Forums › Extinct Theme Support › No Access-Control
- This topic has 6 replies, 2 voices, and was last updated 9 years ago by Raghavendra.
-
AuthorPosts
-
April 5, 2015 at 10:12 am #13230jupatisanMember
Hello Goodday,
I’m finished building a child theme. Almost everything is working fine.
There is just one last problem:
Font from origin ‘https://www.livemeshthemes.com’ has been blocked from loading by Cross-Origin Resource Sharing policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Origin ‘www.my site’ is therefore not allowed access.
Can you please help me with this?Thank you very much.
Kind regard,
SandraApril 5, 2015 at 10:14 am #13231jupatisanMemberThis reply has been marked as private.April 7, 2015 at 1:41 pm #13262RaghavendraModeratorSandra – you will need to move the font files to your server. At present, the child theme style.css file references the font files on our server –
@font-face { font-family: 'Weston'; src: url('https://www.livemeshthemes.com/extinct/wp-content/fonts/Weston/weston_free-webfont.eot'); src: url('https://www.livemeshthemes.com/extinct/wp-content/fonts/Weston/weston_free-webfont.eot?#iefix') format('embedded-opentype'), url('https://www.livemeshthemes.com/extinct/wp-content/fonts/Weston/weston_free-webfont.woff') format('woff'), url('https://www.livemeshthemes.com/extinct/wp-content/fonts/Weston/weston_free-webfont.ttf') format('truetype'), url('https://www.livemeshthemes.com/extinct/wp-content/fonts/Weston/weston_free-webfont.svg#weston_freeregular') format('svg'); font-weight: normal; font-style: normal; }
In fact, the above font will not render in FireFox due to security restrictions and will raise a warning in browsers like Chrome.
April 7, 2015 at 2:16 pm #13265jupatisanMemberThank you very much Meteorite!
I hoped that this would also solved the following problem with the editor in the child’s panel .
PHP Warning: htmlspecialchars() [function.htmlspecialchars]:Invalid multibyte sequence in argument in E:\sandrafotografie.nl\wwwroot\wordpress\wp-includes\formatting.php on line 3203
I made the correction and the first error is gone.
But the problem with the editor is still there.
Can you please help me with this last issue.Thank you for your patience
April 9, 2015 at 12:42 pm #13311RaghavendraModeratorUnfortunately I am not finding much information on this error. The problem seems to be related to special characters in files. Can you try replacing formatting.php file and see if that helps? If the error number moves to another file, then you may need to reinstall a fresh copy of WordPress. You can also try using a plugin like WPIDE to edit files – not sure they will work well though if quite a number of files are affected.
April 10, 2015 at 9:45 am #13330jupatisanMemberThanks Meteorite,
I’ll try WPIDE.Have a nice weekend!
April 11, 2015 at 6:31 am #13351RaghavendraModeratorHave marked this as resolved. Pls open another thread if required. Thanks.
-
AuthorPosts
- The topic ‘No Access-Control’ is closed to new replies.