Skip to content
This repository has been archived by the owner on Jul 8, 2021. It is now read-only.

Add Logo In navbar-brand? #45

Open
mrworthington opened this issue Jul 26, 2018 · 1 comment
Open

Add Logo In navbar-brand? #45

mrworthington opened this issue Jul 26, 2018 · 1 comment

Comments

@mrworthington
Copy link

Hello!

First of all, this is a fantastic theme. I just had one question, which is more of a feature request:

Is there an easy way to add a logo option under the navigation parameters so you could use an actual logo that switches color and size with the page scroll? Given the hero background, you'd obviously need a lighter color version of the logo that alternates to a dark or colored version of the logo as the page scrolls.

I tried figuring it out by altering the navigation partial layout, but couldn't actually get it to work. Here's the Hugo support link I tried using as a guide to make the edits.

Thanks! This theme is incredible!

@mardocc
Copy link

mardocc commented Nov 2, 2019

Put this in your nav.html at the bottom of the div class="navbar-header"
<a href="#top"> <img src="/svg/mylogo.svg" height="50em"></a>

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants