-
Posted in : Efor
-
Dear Serkan,
1) WordPress database reset
2) Efor theme installed
3) Plugins for this theme installed/updated/activated, theme set as default and imported via plugin.
4) All thumbnails regenerated via plugin in tools.However, no images, icons visible at the home screen, plus different font that the expected.
Visible on chrome and safari.
Can you help on that?
Thanks.
Hi, I checked the chrome console and saw an error message about `Font from origin has been blocked from loading by Cross-Origin Resource Sharing policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource.
Origin is therefore not allowed access.`, I just made a quick search on it and found some possible solutions, please check out these posts;Dear Serkan,
Thanks for your fast reply. I tried what you proposed so I have updated my .htaccess file and tested on different browser after cleaning caches:
<IfModule mod_headers.c>
<FilesMatch “\.(ttf|ttc|otf|eot|woff|woff2|font.css|css)$”>
Header set Access-Control-Allow-Origin “*”
</FilesMatch>
</IfModule>However, it didn’t fix the issue related to images or fonts. Furthermore, I have never seen at the chrome console: “No ‘Access-Control-Allow-Origin’” as warning or error.
I have checked the sources->Page in the chrome inspector: I can see inside wp-content/themes/efor/css/fonts/now: “Now-Bold.woff2”, “Now-Light.woff2” & “Now-Regular.woff2”, however “Now-Regular.woff2” is not there as in your template.
I think that it is not an Apache issue as you commented, rather than an issue loading the css or specific fonts.
Could you please help me on that?
Regards,
Sergio RuizHi,
I will forward this topic to our developers, btw if you have any third party plugins, deactivate them, clear your cache and try it again.
ThanksHi Serkan,
I did it. As commented, just the plugins related to the template are active, others disabled.
Regarding the cache, I clean the whole wordpress database before import the template. Also, regenerated thumbnails, plus no errors over the import process.
I have all plugins related to the Efor demo style 5 template on their last version available.
It seems I am the second user having this issue with fonts and icons over the last month.
Any help will be appreciated since I couldn’t progress on the last 3 days. Thanks in advance.
Regards,
Sergio RuizHi,
– please make sure to activate ‘IconPress Lite’ plugin to use the icons.
– to fix the issue of the titles, navigate to Elementor > Settings and check ‘Disable Default Fonts’ then save.Cheers.
Dear ahmetsali,
Thanks a lot for your support.
I have been able to fix the issue related to fonts (just the space between text lines is different than the template -no critical for now-), however the issue related to icons persist.
The ‘IconPress Lite’ was already enabled but no icons are visible. At the section “Iconpress lite” I can just see: Your custom collection is empty. Only 14 system icons are visible and I didnt have any error on the import template process.
Aside, of this issue, might I ask which is the instagram plugin you use for the “Photographer template”. Is the “home-landing-photowall”available also to use with the Efor template?
Regards,
Sergio RuizHi again, Sergio,
– it should be fixed when you add the same icons to the empty collection with IconPress.
– photowall on Photographer theme is custom coded, but there is a similar animated instagram feed plugin you can use;https://wordpress.org/plugins/animated-live-wall/
and add this custom css codes to improve compatiblity with the theme;
html[class*="-share"] { cursor: default; margin: 0; padding: 0; line-height: 1.9; } .free-wall .brick { box-shadow: none; } .ri-grid { margin: 0; } html .ri-grid ul li a { background-size: cover; }Dear Ahmetsali,
Thanks a lot, that was a really useful answer.
Regarding the icons, true that by adding icons, they become visible. The issue, is knowing the whole list of icons (out of the big list offered by IconPress Lite) so we can import them into our “custom collection”.
Is there is no a script, list or documentation provided for that? It seems that just by “importing” the template do not add automatically the icons use along the whole template.
Thanks again.
Regards,
Sergio RuizHi again, thanks for the feedback we will look into it. Here is the list of selected icons;
https://www.awesomescreenshot.com/image/4394333/9ce03b2ebd902d285e349b17a8c3a474
Cheers.
Hi Ahmetsali,
When I meant issues with images, I meant with most of the images in the template (those icons you sent in the link, the images on buttons -in example the “all post” button image-, the social buttons at the end of the home, most of the images that can be set up as icons as “comments” & “likes” numbers with the instagram plugin you recommend within this template, etc…).
The ones in the link are just a small subset.
Regards,
Sergio RuizHi Sergio,
I checked your source code and you are having a mixed content issue.
Please check out this related topic for fixing the issue;
https://developers.google.com/web/fundamentals/security/prevent-mixed-content/fixing-mixed-content
ThanksDear Serkan,
Thanks a lot for your reply and please excuse me for my late reply.
As far as I have seen, the reason for the mixed content is that the template, once is loaded, it is not only questing the images from my local url, it is also requesting some of the same images on the pixelwars.org url template.
I have search for duplicate references from the template of from the wordpress console, however I couldnt find them.
Is it possible that the template javascript is performing the images requests to the pixelwars.org url?
I need to fix this issues, otherwise the website seems unsecure to the users even using https.
Would it be possible for you to help me by inspecting the console on my url.
Thanks in advance.
Regards,
Sergio RuizHi Sergio,
Some of images are using pixelwars url, but you should need to replace the images at least;
http://themes.pixelwars.org/efor/demo-03/wp-content/uploads/sites/4/2018/10/myoung-kang-569499-unsplash-Custom.jpg
So they will solve the issue.
You must be logged in and have valid license to reply to this topic.