Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Responsive Favicons

Security covered Under active development 10,696 sites

This module integrates favicons generated by realfavicongenerator.net into your Drupal site, supporting various devices and browsers. It's particularly useful for multisite setups, allowing per-site favicon variations to be stored within each site's file directory.

Responsive Favicons

This module adds the favicons generated by realfavicongenerator.net to your site. The responsive name comes from the fact that many devices are catered for including iPhone, Android, iPad, other tablets and desktops.

This module can prove to be really useful in Drupal multisite setups where you do not want to pollute the base of the docroot with loads of icons that pertain to only a single site. This module allows you to store per site variations of the icons, in each site's respective public files directory.

Requirements

Installation and configuration

  1. Generate the favicons and the HTML code on realfavicongenerator.net
    • You will need a 260x260px PNG file with appropriate transparency already created. Smaller files can be uploaded but these will produce inferior results.
    • When asked for the "path" in realfavicongenerator.net select "I will place favicon files (favicon.ico, apple-touch-icon.png, etc.) at the root of my web site. Recommended." - this is because Drupal will rewrite the URLs based on your configuration of the module for you.
  2. Install Responsive Favicons module as you install a contributed Drupal module. See https://drupal.org/documentation/install/modules/themes/modules-7
  3. Go to /admin/config/user-interface/responsive_favicons to configure the module.
    • Here you will need to paste in the HTML provided by realfavicongenerator.net and upload the zip file they provided you with.
  4. [optional] You can also allow this module to take over common paths like:
    • favicon.ico
    • apple-touch-icon.png
    • apple-touch-icon-precomposed.png
    • browserconfig.xml

    In order to do this you need to:

    1. Comment out the line
      #RewriteCond %{REQUEST_URI} !=/favicon.ico
      in the Drupal root .htaccess file.
    2. Alter the fast 404 syntax (see the README for the Drupal version specific to your site for the full details.

You site will now output the required metadata for the favicons to work. You can
always check the status report page to find out if your site has been correctly
configured.

Note. The 'favicon' module duplicates some of the functionality of responsive favicons, so it is preferred that you only install one of the two modules.

Can I have a video telling me how to do the above

Sure, I made a 5 minute screencast on how to do install and configure the module.

Further reading

This entire module was spawned from a blog post on the topic located at
http://www.pixelite.co.nz/article/adding-apple-android-favicons-drupal

Drupal 10–11

Ask your assistant about Responsive Favicons

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

  • file Drupal core

Required by

1 tracked project depends on this one

Activity

Tracked releases
14
Tracked since
Jan 2023
Latest release
6 days ago
Releases (12 mo)
2 ▼ from 10
Maintenance
Active

Release Timeline

Releases

Version Type Core PHP Release date
3.0.0-alpha1 Pre-release 10–11 Mar 4, 2025
3.x-dev Dev 10–11 Mar 4, 2025
2.0.1 Stable 9–10 Apr 22, 2023
2.0.0 Stable 9–10 Jan 21, 2023