Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1255905
    troyassoignon
    Participant

    Hello! Thanks for your time.

    So on my site all of my icons disappear in the CTA callout.

    They appear in Cornerstone when I edit but when logged out and live view they appear as a box.

    http://exclusivebrandingagency.com

    #1255928
    Darshana
    Moderator

    Hi there,

    Thanks for writing in. Sorry to hear that you’re having this issue. It seems that your hosting provider doesn’t allow for cross origin (which means cross domain requests are disabled).

    Could you please try adding the following rule into your .htaccess file and see if that works for you.

    Header add Access-Control-Allow-Origin "*"
    Header add Access-Control-Allow-Headers "origin, x-requested-with, content-type"
    Header add Access-Control-Allow-Methods "PUT, GET, POST, DELETE, OPTIONS"

    Once you’ve done that, you should have a .htaccess that looks similar to this.

    Alternatively, try adding the following code into your functions.php file.

    
    add_action ('init', function(){
     header("Access-Control-Allow-Origin: *");
    });
    

    Hope that helps.

  • <script> jQuery(function($){ $("#no-reply-1255905 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>