- This topic has 23 replies, 5 voices, and was last updated 5 years, 10 months ago by
Tom.
-
AuthorPosts
-
December 19, 2017 at 5:30 am #452807
Leo
StaffCustomer SupportIs it currently uploaded in the customizer? If so that will be global setting.
You should be able to use the same PHP condition for this filter: https://docs.generatepress.com/article/generate_mobile_header_logo/
December 24, 2017 at 2:05 am #456116Lisa
HI Leo
I need to change the logo from English to Hebrew in two places in customizer but every time I refresh the page (after saving it) the English logo is back there.I checked with my host and cleared cache etc.. still happens
see screen capture
https://prnt.sc/hrogwa
this is for the logo on the sticky menu and mobile in hebrew. the English logo is showing in the hebrew sites.
http://www.p8072-158-1962.s158.upress.link/December 24, 2017 at 10:29 am #456330Tom
Lead DeveloperLead DeveloperThat’s really weird – perhaps try removing those images from the media library completely, then re-upload them from scratch.
December 25, 2017 at 12:11 am #456481Lisa
HI Tom
Merry Christmas:)
still weird… I deleted the logos and uploaded again into media.
still the Hebrew logo that I upload into header and primary nav is overridden by english logoDecember 25, 2017 at 12:40 am #456491Tom
Lead DeveloperLead DeveloperAnd where is the English logo uploaded? Do you have a Page Header applied which has the logo overwritten maybe?
Merry Christmas 🙂
December 25, 2017 at 2:50 am #456530Lisa
HI Tom
So even though the English logo keeps overriding the Hebrew logo in the header and primary logo customization.
The logo has been set via wp hooks… and the hebrew logo is now showing in sticky menu as it should and on hebrew mobile as it should…. so the result is ok. http://www.p8072-158-1962.s158.upress.link/<?php if(ICL_LANGUAGE_CODE=='he'){ ?> <img src="http://www.p8072-158-1962.s158.upress.link/wp-content/uploads/2017/12/log-he.jpg" alt="hebrew logo" /> <?php } if(ICL_LANGUAGE_CODE=='en'){ ?> <img src="http://www.p8072-158-1962.s158.upress.link/wp-content/uploads/2017/12/logo-en.jpg" alt="english logo" /> <?php } ?>December 25, 2017 at 10:31 pm #456907Tom
Lead DeveloperLead DeveloperSo everything is good now?
May 18, 2020 at 3:41 am #1289785Christoph
I tried this, before logo:
<?php if ( ICL_LANGUAGE_CODE == 'en' ) { ?> <img src="http://www.concepto3s.com/wp-content/uploads/2020/05/3hconcept-web.jpg" alt="" /> <?php } else { ?> <img src="http://www.concepto3s.com/wp-content/uploads/2020/05/concepto3s-web.jpg" alt="" /> <?php } ?>but now I do not have any logo. http://www.concepto3s.com … http://www.3hconcept.com
May 18, 2020 at 11:55 am #1290664Tom
Lead DeveloperLead DeveloperHi there,
Any chance you can open a new topic with some more details on your current setup?
Thanks!
-
AuthorPosts
- You must be logged in to reply to this topic.