Title: WordPress with 3 Logos
Last modified: December 4, 2019

---

# WordPress with 3 Logos

 *  [stfngssn](https://wordpress.org/support/users/stfngssn/)
 * (@stfngssn)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/wordpress-with-3-logos/)
 * Hello,
 * at the moment I have to build a WordPress and it should be 3 logos, which are
   shown depending on the page (different page, different product, different logo).
   Example:
 * – Logo-1.png: if on Home
    – Logo-2.png: if on Screens – Logo-3.png: on all other
   pages
 * I’d put logo 3 into wp regularly, but what’s with the two other ones?
    I read
   somewhere else that I would also need a child theme, but not how. Anyway, I do
   have a child theme. Some addition like this (see below)? But to be honest I don’t
   know how I can reference to the original logo and let it disappear, then display
   the other logos, depending on the page the user is on (and where to actually 
   put it)?
 *     ```
       <?php if(is_page('screens')){ ?>
       <img src="/wp-content/themes/themename-child/logo-2.png" />
       <?php } elseif(is_page('home')){ ?>
       <img src="/wp-content/themes/themename-child/logo-1.png" />
       <?php } else { ?>
       <img src="/wp-content/themes/themename-child/logo-3.png" />
       <?php } ?>
       ```
   
 * Or is this possible with Custom CSS in Customizer?
 * (Sorry, can’t provide the link to the WP, because not accessible from outside
   network)
 * Or is there an actual plugin that still works with a new WP (I just found stone-
   old stuff), that I just couldn’t find?
 * Thanks in advance!
    -  This topic was modified 6 years, 5 months ago by [stfngssn](https://wordpress.org/support/users/stfngssn/).
    -  This topic was modified 6 years, 5 months ago by [Jan Dembowski](https://wordpress.org/support/users/jdembowski/).
      Reason: Moved to Fixing WordPress, this is not an Everything else WordPress
      topic

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [Phil](https://wordpress.org/support/users/owendevelopment/)
 * (@owendevelopment)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/wordpress-with-3-logos/#post-12204566)
 * I would at first try the code you tried in a child theme header.php, in place
   of the current logo element.
 * The conditional statements you add will show the correct logo based on which 
   page is shown.
 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [6 years, 5 months ago](https://wordpress.org/support/topic/wordpress-with-3-logos/#post-12204821)
 * The images are not set via CSS so this cannot be fixed with CSS. You’ll need 
   to do it in PHP in header.php in the child theme.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘WordPress with 3 Logos’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 3 participants
 * Last reply from: [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * Last activity: [6 years, 5 months ago](https://wordpress.org/support/topic/wordpress-with-3-logos/#post-12204821)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
