-
AuthorPosts
-
January 14, 2015 at 1:07 am #379214
Hi, i’m trying to figure out an easy way to add a 2nd logo of the affiliate brand to the right of the current logo without breaking the responsive layout. Guidance would be much appreciated!
January 14, 2015 at 7:48 am #379298Hey vikingbastich!
Thank you for using Enfold.
Please refer to this link for a possible fix: https://kriesi.at/support/topic/remove-main-menu/#post-377582
Best regards,
IsmaelJanuary 15, 2015 at 3:47 pm #380034Thanks! this link definately helped me get the 2nd logo in there – however, i’m having issues getting it aligned. Is there a quick-css way to get this done? it’s currently at cohenequities.com
Thanks!
January 15, 2015 at 3:54 pm #380038also when trying to make the new logo clickable it prefixes the site domain before the new link. Is there anyway to remove that?
January 15, 2015 at 4:10 pm #380044Hi!
Please add following code to Quick CSS in Enfold theme options under General Styling tab
.secondary-logo * { max-width: 70%; } .secondary-logo { float: right; position: relative; margin-bottom: -44px; }
and edit the code you have added to Functions.php file and make your image links using HTML A tag – http://www.w3schools.com/tags/tag_a.asp
Regards,
YigitJanuary 15, 2015 at 4:14 pm #380048we’re close!
currently floating off to the right of the nav, I want to get it to be directly to the right of the main logo.Also, this is what i have in functions.php:
add_action('ava_after_main_menu','custom_things'); function custom_things() { echo '<div class="secondary-logo"><a href=“http://www.candkproperties.com" target="_blank" ><img src="http://cohenequities.com/wp-content/uploads/2015/01/2.png"></a></div>'; }
and it’s still prefacing it with the current domain.
January 15, 2015 at 4:18 pm #380052Hey!
Please add following code to Quick CSS as well
.secondary-logo { z-index: 999; right: -15%; }
Best regards,
YigitJanuary 15, 2015 at 4:31 pm #380070still no good unfortunately, now it’s all the way to the right of the menu, and when resizing it drops below the menu
January 15, 2015 at 4:43 pm #380086Hi!
Please try following code
@media only screen and (min-width: 1024px) { .secondary-logo { z-index: 999; right: -15%; }}
Cheers!
YigitJanuary 15, 2015 at 4:48 pm #380095nope, sorry. Take a look: http://cohenequities.com/
January 16, 2015 at 8:17 am #380620 -
AuthorPosts
- You must be logged in to reply to this topic.