Tagged: logo
-
AuthorPosts
-
December 16, 2014 at 12:13 am #368682
Hello Guys,
I need some help with a second logo.
I have found something on the forum and was able to put in a second logo but the height of the header is not responsive.
I have enter this line the helper-main-menu.php after:
echo avia_logo(AVIA_BASE_URL.’images/layout/logo.png’, $addition, ‘strong’, true);
echo “<div class=’bb-logo’></div>”;and CSS:
@media only screen and (min-width: 767px) {
.bb-logo { display: none; }
}@media only screen and (max-width: 767px) {
.responsive .logo img { display: none;}
}Already a great thnx!
Tim
December 16, 2014 at 12:14 am #368684This reply has been marked as private.December 16, 2014 at 5:00 pm #368973Hi!
Change this.
@media only screen and (max-width: 767px) { .responsive .logo img { display: none;} }
To this.
@media only screen and (max-width: 767px) { .responsive .logo { display: none;} #header { height: 200px !important; } /* remove this if you don't want to set a specific height */ }
Best regards,
ElliottDecember 19, 2014 at 3:19 pm #370579Hello Elliott,
Thnx for this!
Can you also tell me how to make this logo link to the homepage? Like the standard logo does.
Greets tim
December 19, 2014 at 10:13 pm #370783Hi!
Is this the code your using?
echo avia_logo(AVIA_BASE_URL.’images/layout/logo.png’, $addition, ‘strong’, true);
If so then try changing it to this.
echo '<a href = "'.get_bloginfo("url").'">'; echo avia_logo(AVIA_BASE_URL.’images/layout/logo.png’, $addition, ‘strong’, true); echo '</a>';
Regards,
ElliottDecember 29, 2014 at 6:17 pm #372715Hey Elliott,
I edit this but I dont get a good result.
echo '<a>'; echo avia_logo(AVIA_BASE_URL.’images/layout/logo.png’, $addition, ‘strong’, true); echo '</a>'; echo "<div class='bb-logo'><img src='http://bb.testsites-swipemedia.nl/wp-content/uploads/2014/12/bb-logo-mobile.png' /></div>";
Greets Tim
- This reply was modified 9 years, 11 months ago by Elliott.
December 29, 2014 at 7:32 pm #372761Hey!
Your code does not look like the code I posted and it sounds like your wanting to surround the bb-logo image with the link instead of the default logo.
Best regards,
ElliottDecember 30, 2014 at 1:16 pm #373062Hey Elliot,
That is right the default logo already links to home chanced it, now it works.
Thanks again for the good support!
Greets Tim
-
AuthorPosts
- The topic ‘second logo’ is closed to new replies.