Title: Different logos / header
Last modified: August 31, 2016

---

# Different logos / header

 *  Resolved [mkaiit](https://wordpress.org/support/users/mkaiit/)
 * (@mkaiit)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/different-logos-header/)
 * Hi
    I have a website in two languages one rtl (arabic) and one english. I use
   a theme called Mharty. The logo i put is perfectly reflected on english site 
   and everything works great.
 *  Now I want to add another logo (two logos on the site. One right and one left)
   so i made the two logos in one image. Uploaded it to the site. On arabic site
   its perfect. On English site the exact same image appears so it is not properly
   displayed.
    My problem is i want to put one logo on arabic site and another logo
   image on english site. I googled a lot am not so much techy but i found to add
   a logo to String Translation on polylang. It said i should now what key does 
   my theme use for logo and that this is on wp options table. I went there but 
   didn’t see anything called logo. I tried the inspect element amd saw its called
   in css mh_logo So plz advice me what shall i do? I am new at where i work and
   general manager asked me to do this so i really want to do it. I hope
 * Thanks a lot
    I can send the link in private only but it doesnt include the logos
   only normal one logo as its live site.
 * [https://wordpress.org/plugins/polylang/](https://wordpress.org/plugins/polylang/)

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

 *  Plugin Support [Chrystl](https://wordpress.org/support/users/chrystl/)
 * (@chrystl)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/different-logos-header/#post-7273201)
 * Hi
    Please provide a link where appear your two logos.
 *  Thread Starter [mkaiit](https://wordpress.org/support/users/mkaiit/)
 * (@mkaiit)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/different-logos-header/#post-7273314)
 * This is the english side
    _[Link redacted]_
 * This is the arabic side
    _[Link redacted]_
 * Plz note the current logo in above links is not the one i am having trouble with.
   Bcoz above links r live website. I have put the logo i want to add in an image
   here:
    _[Link redacted]_
 * U will see the two logos. When i go to englsih site here its the exact same logo
   which is wrng displayed
    Waiting ur replay sir thanks a lot
 *  Plugin Support [Chrystl](https://wordpress.org/support/users/chrystl/)
 * (@chrystl)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/different-logos-header/#post-7273349)
 * In your header.php you should create a `<div id="logo"></div>` just after `<div
   class="container clearfix"></div>`.
 *  Thread Starter [mkaiit](https://wordpress.org/support/users/mkaiit/)
 * (@mkaiit)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/different-logos-header/#post-7273351)
 * Hi Sir
    i go to Edit in Appearance I saw this at the end of header.php file
 *     ```
       <body <?php body_class(); ?>>
       	<div id="page-container" class="<?php if ( ! is_page_template( 'page-template-trans.php' ) ) echo'not-trans';?>">
           	<?php do_action('mh_before_start_container'); ?>
       		<?php mh_header_menu();?>
       		<div id="mh-main-area">
       			<?php do_action('mh_before_content'); ?>
       ```
   
 * now i paste under that this code?
    <div id=”logo”></div>
 * or ur replay was general and I should put certain code there?
 * please advice
 * thanks a looooot
 *  [stillbluewaters](https://wordpress.org/support/users/stillbluewaters/)
 * (@stillbluewaters)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/different-logos-header/#post-7273352)
 * A trick I use: Open webpage in browser. Right click / View source. Then scroll
   down thru the source code until you find your logo. (remember, this page is built
   by php engine on the fly so it is not the page as written). In the source code,
   when you find your logo, take note of the <div class that it is in. There may
   be several listed in the tag.
 * If you can find this class in the css stylesheet, you can adjust the settings
   there. If not, it may not be there but need to written into php file.
 * I download a copy of my WordPress site with FTP.
    I Windows search the theme 
   folder for the class that I am looking and the search will show me which file
   it is. I can then open that file and find the class to make the adjustments.
 * You can also do like he said above, add a div style of your own to the css. Of
   course you’ll have to name the class in the php header.php file also with something
   like:
 *     ```
       <a>"><img src="<?php echo QUALITY_TEMPLATE_DIR_URI; ?>/images/logo.png"></a>
       ```
   
 * From this I can easily change the logo image and add size or whatever to the 
   code. It works but not all themes are set up this way. So far it has worked on
   3 themes I’ve tried it on. Once you find your logo in the source code, you can
   go from there.
 * Different one:
 *     ```
       <?php if ( of_get_option('logo')!="") { ?>
               <a>">
               <img src="<?php echo esc_url(of_get_option('logo')); ?>" class="site-logo" alt="<?php bloginfo('name'); ?>" />
               </a>
       ```
   
 * Here the logo tag includes a class so I can find and edit that or create one 
   of my own in the css and change it here in the header.php. Hope some of this 
   helps a little. I know I had a hard time too when I first started with WordPress.
   I thinks the software is a lot more trouble than it’s worth. Too much work and
   aggravation to deal with trying to customize there lame WordPress themes which
   are only partially built when we get them (Of course they don’t tell you that).
 *  Thread Starter [mkaiit](https://wordpress.org/support/users/mkaiit/)
 * (@mkaiit)
 * [10 years ago](https://wordpress.org/support/topic/different-logos-header/#post-7273391)
 * [@stillbluewaters](https://wordpress.org/support/users/stillbluewaters/)
    Thanks
   a lot appreciate it but not sure I can do this alone. Will try not sure.
 * @crystl
    Plz can u answer me about the code or am lost?
 *  [stillbluewaters](https://wordpress.org/support/users/stillbluewaters/)
 * (@stillbluewaters)
 * [10 years ago](https://wordpress.org/support/topic/different-logos-header/#post-7273393)
 * just remember to keep a saved copy of any files you work on so if it doesn’t 
   work or you mess it up, you can put the original file back in place and maybe
   try again.
 * If your header worked on one, then it should work on both. Just put the logo 
   image you want on each one and skip the double logo thing.
 *  Thread Starter [mkaiit](https://wordpress.org/support/users/mkaiit/)
 * (@mkaiit)
 * [10 years ago](https://wordpress.org/support/topic/different-logos-header/#post-7273419)
 * [@stillbluewaters](https://wordpress.org/support/users/stillbluewaters/)
    Yes
   it worked on one but the other the image dowsnt look correct bcoz its another
   language. This is my problem.
 * I home cryslt can replay me too
 *  [stillbluewaters](https://wordpress.org/support/users/stillbluewaters/)
 * (@stillbluewaters)
 * [10 years ago](https://wordpress.org/support/topic/different-logos-header/#post-7273420)
 * I don’t know, tell us what theme you’re using, put the header images on best 
   you can, then post the urls of the two pages here so I can look at the source
   code and theme files. I don’t even work here 😀
 *  Thread Starter [mkaiit](https://wordpress.org/support/users/mkaiit/)
 * (@mkaiit)
 * [10 years ago](https://wordpress.org/support/topic/different-logos-header/#post-7273452)
 * Would u plz remove ny sites links and the img i have uploaded? Thanks moderator
 *  [Andrew Nevins](https://wordpress.org/support/users/anevins/)
 * (@anevins)
 * WCLDN 2018 Contributor | Volunteer support
 * [10 years ago](https://wordpress.org/support/topic/different-logos-header/#post-7273453)
 * [https://codex.wordpress.org/Forum_Welcome#Deleting_.2F_Editing_Posts](https://codex.wordpress.org/Forum_Welcome#Deleting_.2F_Editing_Posts)
 *  [Andrew Nevins](https://wordpress.org/support/users/anevins/)
 * (@anevins)
 * WCLDN 2018 Contributor | Volunteer support
 * [10 years ago](https://wordpress.org/support/topic/different-logos-header/#post-7273454)
 * Please don’t re-add the ‘modlook’ tag, I am a moderator and I have pointed you
   towards the forum welcome regarding our policy on editing posts.
 * I would recommend you also read the “Contact the Moderators” section.
 * > As most of the moderators are volunteers, we ask that if you need moderator
   > help for any reason, you post your request in the forum and tag it with the
   > term “modlook” – someone will come take a look. **Do not abuse that tag, or
   > your account will be disabled.**
 * _[https://codex.wordpress.org/Forum\_Welcome#Contacting\_the\_Moderators](https://codex.wordpress.org/Forum_Welcome#Contacting_the_Moderators)_
 *  Thread Starter [mkaiit](https://wordpress.org/support/users/mkaiit/)
 * (@mkaiit)
 * [10 years ago](https://wordpress.org/support/topic/different-logos-header/#post-7273455)
 * I didnt re add it
    I just read the topic in codex and i added in tags at the 
   end of this thread. Did i do something wrong? If yes plz advice what shall i 
   do. Plz if u can delete this topic plz do as its not useful in anyway Thanks 
   a lot
 *  [Andrew Nevins](https://wordpress.org/support/users/anevins/)
 * (@anevins)
 * WCLDN 2018 Contributor | Volunteer support
 * [10 years ago](https://wordpress.org/support/topic/different-logos-header/#post-7273456)
 * Then I apologise, I must have not removed it (the modlook tag) correctly.
 * We don’t delete topics for that reason.
 *  Thread Starter [mkaiit](https://wordpress.org/support/users/mkaiit/)
 * (@mkaiit)
 * [10 years ago](https://wordpress.org/support/topic/different-logos-header/#post-7273457)
 * Sir
    I don’t think i follow what do u mean by not removed it correctly
 * Can u remove my sites link and my img? I needed the soultion saw i shared them.
   Plz can u urgently remove them???

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

The topic ‘Different logos / header’ is closed to new replies.

 * ![](https://ps.w.org/polylang/assets/icon-256x256.png?rev=3433336)
 * [Polylang](https://wordpress.org/plugins/polylang/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/polylang/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/polylang/)
 * [Active Topics](https://wordpress.org/support/plugin/polylang/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/polylang/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/polylang/reviews/)

 * 15 replies
 * 4 participants
 * Last reply from: [mkaiit](https://wordpress.org/support/users/mkaiit/)
 * Last activity: [10 years ago](https://wordpress.org/support/topic/different-logos-header/#post-7273457)
 * Status: resolved