
-
AuthorPosts
-
June 9, 2016 at 10:27 am #645343
Hallo Zusammen.
Sorry, mein English ist nicht gerade berauschend. Darum meine Anfrage in DEUTSCH.Ich muss in meinem Header zwei Logos einbauen und bräuchte etwas Hilfe, wie ich das machen kann und vor allem an welcher Stelle bzw. in welcher Datei, sollte das nur im Quellcode möglich sein.
Vielen Dank!
June 10, 2016 at 8:41 am #646085Hey ugenmeister!
Thank you for using Enfold.
Add another logo by adding this code in the functions.php file:
add_filter('avf_logo_final_output', 'avf_logo_final_output_mod', 10, 6); function avf_logo_final_output_mod($logo, $use_image, $headline_type, $sub, $alt, $link) { $secondlogo = "<".$headline_type." class='secondlogo'><a href='_PUT_LOGO_LINK_HERE_'><img height='100' width='300' src='_PUT_LOGO_URL_HERE_' alt='_PUT_LOGO_ALT_HERE_' title='_PUT_LOGO_TITLE_HERE_'/></a></strong>"; $logo = $logo . $secondlogo; return $logo; }
Replace the placeholders and adjust the style of the second logo in the Quick CSS field. Example:
.secondlogo { /* style here */ }
Best regards,
IsmaelJune 10, 2016 at 9:11 am #646096Hi Ismael.
Thank you so much. It works. But a little problem is there: I have a sticky navbar horizontal with the first logo center.
How can I make it, that the second logo also – like the first logo – will be smaller when i scroll up the side?
Sorry for my bad english :-( and thank you for your help.June 10, 2016 at 9:16 am #646100Or other idea: when I make a graphic with the two logos in ONE FILE? Then I can upload this logo in the WP Backend. It works, but the logo is then in the frontend to small and I have no idea how I can make it bigger.
June 13, 2016 at 12:55 pm #647329Hi,
Login credentials are not working for me. Can you please check them once again?
Also, please try uploading your logos in one file so we can see how it looks, we might be able to provide you a workaround :)
Best regards,
YigitJune 13, 2016 at 2:03 pm #647377Hi Yigit.
Thank you so much for your wonderful service! I upload the logofiles with “two Logos” in the backend. And – what must i see – a small dropdown menu on the right side. Here I can take the original size from the file and all works corect now. Before I dont saw this dropdown. Thank you very much!
Best regards,
UGENMEISTERJune 13, 2016 at 2:05 pm #647382Hi!
You are welcome!
For your information, you can take a look at Enfold documentation here – http://kriesi.at/documentation/enfold/
And if there are features that you wish Enfold had, you can request them and vote the requested ones here – https://kriesi.at/support/enfold-feature-requests/
For any other questions or issues, feel free to post them here on the forum and we will gladly try to help you :)Regards,
Yigit -
AuthorPosts
- The topic ‘Zwei Logos im Header’ is closed to new replies.