HTTPS mixed content with custom logo

By UUA Web Team
December 7, 2017, 1:02 pm EST
If I have a custom logo set in the header it loads over http when loading the page over https, so the lock image won't display by the url. The header.php file does: <?php if( $logo = get_theme_mod('uuatheme_logo_upload') ) : ?> but $logo has "http://" in it so it will always load over http. One workaround is to modify header.php to add the following below the line above: <?php if (is_ssl()) { $logo = str_replace('http://', 'https://', $logo ); } ?> Could you please fix this in the next version of this theme?