Skip to content
Public Ticket #29702

Favicon Issue

Conversation thread

PenciDesign Supporter replied

Staff Reply

Hi,

Please clear all the browser caches and check again.

Here is the screenshot of my browser: https://imgur.com/a/tBjbUgP

Regards,
PenciDesign.

Masooma replied

Customer Reply

hi team, i try this and paste this code in different places in function.php but it still not working, look into this, given WP access pls check it proper

PenciDesign Supporter replied

Staff Reply

Hi,

You should paste this code into the function.php of the child theme or via the CodeSnippet plugin here: https://wordpress.org/plugins/code-snippets/

add_action( 'wp_head', function(){
    if ( get_theme_mod( 'penci_favicon' ) ) : ?>
        <link rel="shortcut icon" href="<?php echo esc_url( get_theme_mod( 'penci_favicon' ) ); ?>"
              type="image/x-icon"/>
        <link rel="apple-touch-icon" sizes="180x180" href="<?php echo esc_url( get_theme_mod( 'penci_favicon' ) ); ?>">
    <?php endif; });

Regards,
PenciDesign.

Masooma replied

Customer Reply

I have performed this step still not appearing, its happened after theme updates so pls fix it, I have shared the WP details with you guys as well. thanks

PenciDesign Supporter replied

Staff Reply

Hi,

You've overwritten the default Soledad and WordPress headers by using the Elementor Theme Builder, which is why the WordPress favicon settings are not displaying.

Please follow the document at this link to configure it: https://elementor.com/help/add-a-favicon-to-your-website/

Regards,
PenciDesign.

Want to join this conversation or access attachments? Sign in first.