New Landing How can we help? Cardinal SSL / HTTPS Problems With Custom Font ver 1.92

Viewing 3 posts - 1 through 3 (of 3 total)
  • Posted in: Cardinal
  • #124833
    kamarch
    Member
    Post count: 21

    For whatever reason custom fonts aren’t appearing on the my account page and the checkout page and I assume anything else that uses https:// I’ve tried the fix below but also every relatable plugin for WordPress 4.0. Thank you for fixing the registration errors by the way.

    /* FIX SSL
    ================================================== */
    function fix_ssl_attachment_url( $url ) {

    if ( is_ssl() )
    $url = str_replace( ‘http://’, ‘https://’, $url );
    return $url;

    }
    add_filter( ‘wp_get_attachment_url’, ‘fix_ssl_attachment_url’ );

    #124838
    kamarch
    Member
    Post count: 21

    Found the fix. The CSS in the custom fonts upload/redux folder were not using protocol-relative paths. For those who run into this problem as well simply go to publc_html/wp-content/upload/redux/custom-fonts/fonts.css and then change all of the http://domain.com/wp-content/uploads/redux/custom-fonts/custom/font/Fontfile.extension to //domain.com/wp-content/uploads/redux/custom-fonts/custom/font/Fontfile.extension

    #124848
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    I am glad that you managed to resolve the issue.
    Thanks
    Mohammad

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register