Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #267683
    staipa
    Participant

    Hello, my site have a problem with header. In HTML of my site (www.staipa.it) it appear this CSS

    <style type="text/css" rel="header-image">
    			.custom-header:before {
    				background-image: url( http://1);
    				background-position: center top;
    				background-repeat: no-repeat;
    				background-size: cover;
    			}
    		</style>

    It cause problem with SSL certificate in Edge Chromium, because it interpret that stil searching to download a file from http://0.0.0.1 withot HTTPS.
    Problem is in theme because if I change theme problem disappear.
    How can I do for solve?

    #267690
    staipa
    Participant

    Problem is on /inc/custom-header.php row 114

    // Check Homepage
    		if ( 'homepage' === $enable ) {
    			if ( is_front_page() || ( is_home() && is_front_page() ) ) {
    				return adonis_featured_image();
    			}
    		}

    It return the value 1 (that is the value true returned in row 55 in function adonis_featured_image() when I’m i homepage.

    #267718
    staipa
    Participant

    A solution can be use
    if ( $header_image && $header_image!=1)
    Insead of
    if ( $header_image )
    in header-background-color.php row 81

    #267766
    tikaram
    Participant

    @staipa : I will forward the issue to the development team and get back to you soon.

    Regards,
    Tikaram

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Problem with HTTP/HTTPS in header’ is closed to new replies.