Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+5 votes
1.0k views
in Q2A Core by

I put favicon.png 16x16 on my site root  

"Admin" > "Layout"

I Input code below to "Custom HTML in <head> section of every page"

<link rel="shortcut icon" type="image/png" href="http://www.uqtr.ca/opticq2a/wF_16x16.png">

IE: show correct

Firefox: show correct

Google Chrome: DON'T swow

Please Help me!

Thanks #Community

 

Q2A version: 1.6.2

1 Answer

+3 votes
by
selected by
 
Best answer

Took a look at your site... you've added it under the body:

It needs to be in the <head> tag. Interestingly, if you just drag and rop the favicon <link> tag under the <head> the favicon gets automatically updated :D

Of course, change your code so that it gets output inside the <head> tag.

If you haven't figured this out yet you could do something like this in your theme:

public function head_links() {
    $this->output('<link rel="shortcut icon" type="image/png" href="http://www.uqtr.ca/opticq2a/wF_16x16.png">');
    qa_html_theme_base::head_links();
}

 

by
All is right !
Thanks a lot pupi1985
#Community #BestTogether
...