This topic has 4 replies, 3 voices, and was last updated 9 years, 3 months ago ago by Eva Kemp
i have a few problem in the site when i go to https mode
i create the checkout page (https://kustom-tees.com/checkout/) as https
but i get some issues:
* i don’t know what is this smile font and where it come from ????
– Mixed Content: The page at ‘https://kustom-tees.com/checkout/’ was loaded over HTTPS, but requested an insecure stylesheet ‘http://kustom-tees.com/wp-content/uploads/smile_fonts/Defaults/Defaults.css’. This request has been blocked; the content must be served over HTTPS.
* i don’t know how to repllace the logo in the theme to https and not http….
– kustom-tees.com/:502 Mixed Content: The page at ‘https://kustom-tees.com/checkout/’ was loaded over HTTPS, but requested an insecure image ‘http://kustom-tees.com/wp-content/uploads/2015/08/logo.png’. This content should also be served over HTTPS.
– kustom-tees.com/:503 Mixed Content: The page at ‘https://kustom-tees.com/checkout/’ was loaded over HTTPS, but requested an insecure image ‘http://kustom-tees.com/wp-content/uploads/2015/08/logo.png’. This content should also be served over HTTPS.
please i need help
Hello,
To change url for logo image you need edit the file wp-content/themes/classico/framework/theme-functions.php in lines 178, 179 and change the code <?php echo $logo_src; ?>
and <?php echo $logo_fixed_src; ?>
to https://kustom-tees.com/wp-content/uploads/2015/08/logo.png
.
Best regards,
Jack Richardson.
why you didn’t put a php line before like that in your last theme update?
<?php
if (isset($_SERVER[‘HTTPS’]) && $_SERVER[‘HTTPS’] == ‘on’) {
$logo_src = str_replace(“http://”, “https://”, $logo_src);
$logo_fixed_src = str_replace(“http://”, “https://”, $logo_fixed_src);
}
?>
it is really weird that you need to make it absolute link
tnx
Hello,
From theme version 1.1 we’ve been using this code:
<img src="<?php echo $logo_src; ?>" alt="<?php bloginfo( 'description' ); ?>" <?php echo $logo_imagesize[3]; ?> class="logo-default" />
<img src="<?php echo $logo_fixed_src; ?>" alt="<?php bloginfo( 'description' ); ?>" <?php echo $logo_fixed_imagesize[3]; ?> class="logo-fixed" />
Please clarify in what file you saw that code.
Thank you.
Regards,
Eva Kemp.
You must be logged in to reply to this topic.Log in/Sign up