Avada › Forums › Community Forum › icons not displaying after domain change
Tagged: icons, font awesome, icomoon, theme fusion
-
AuthorPosts
-
Thank you Jimmy ! My installation was new and your solution did the job 🙂
Thanks for the tip, worked flawlessly!
Thanks to Jimmy B for pointing me in the correct direction.
What I found is that for some reason, my wp-config file had the lines
define( ‘WP_HOME’, ‘http://example.com’ );
define( ‘WP_SITEURL’, ‘http://example.com’ );This was causing a discrepancy between http:// and https:// – so despite having an active SSL certificate, my site URL was being define as http://, and the media library, fonts, icons etc were being served from http:// links instead of https://. Removing these lines from the wp-config file allowed me to go to Settings > General and set the Site URL to https://, which changed all media, font and icons links to https:// without issue, causing all the icons to begin showing correctly immediately after clearing Avada caches.
This may help someone else who, like me, had followed all of the other steps without success.
This worked for me! Thank you so much!!!
I tried ALL of the suggestions (thank you to all who have shared their solutions), but they didn’t work.
Until I tried the solution from JimmyB. I simply tested my website as http and the icons then showed.
Thank you JimmyBHey,
sometimes it has nothing to do with settings, caches, ssl or a wrong domain. if you add an iconfont with the wrong settings, for example from icomoon. it can break font awesome icons too. in this case you have to play with the preferences from the icomoon font. (changing the css selector, class prefix etc.)This solution worked. Icons are rendering now.
Thanks
This worked. Go directly to the solution here https://theme-fusion.com/forums/topic/icons-not-displaying-after-domain-change/#post-869514
-
AuthorPosts
- You must be logged in to reply to this topic.