CMS Development

IAM
Colaborador(a) | Parceiro
Colaborador(a) | Parceiro

Centered Logo in Navigation

resolver

I'm trying to split the navigation bar in between the logo so 3 pages are on the left and 3 on the right with the logo centered and breaking the plane coming down. Here is an example of a site I found online where the logo comes down off the header. http://tweedbarbers.com/

 

I can't seem to find any examples of this achieved in Hubspot templates in marketplace. Anyone know the best way to acheive this? 

 

Thank you!

0 Avaliação positiva
2 Solução aceitas
Designer_WOT
Solução
Colaborador(a)

Centered Logo in Navigation

resolver

Sure @jennysowyrda, Thankyou for directing me !

Exibir solução no post original

Designer_WOT
Solução
Colaborador(a)

Centered Logo in Navigation

resolver

Hello @IAM,
           There are two ways to get this First one is to do it from backend and second one is to do it using code. both have its advantages and disadvantages

Method 1. Add the image from advanced menu using custom code like in below screenshot
add-logo-in-navigation.png
Code to add in navigation:
<img src="https://cdn2.hubspot.net/hub/4954262/hubfs/ATS%20Shield%20Logo-01.png" alt="Company Name Goes Here" width="200">


Method 2: Just add below code in Additional <head> markup [ will be at right sidebar ] in template.
<script>
$(document).ready(function(){
$('.logo span.hs_cos_wrapper').wrap('<li class="hs-menu-depth-1 hs-menu-item logoInside"></li>').parent().insertAfter('.custom-menu-primary .hs-menu-depth-1:eq(2)')
});
</script>

Kindly mark this as accepted solution if it helps.
Thanks !


Exibir solução no post original

6 Respostas 6
Designer_WOT
Solução
Colaborador(a)

Centered Logo in Navigation

resolver

Hello @IAM,
           There are two ways to get this First one is to do it from backend and second one is to do it using code. both have its advantages and disadvantages

Method 1. Add the image from advanced menu using custom code like in below screenshot
add-logo-in-navigation.png
Code to add in navigation:
<img src="https://cdn2.hubspot.net/hub/4954262/hubfs/ATS%20Shield%20Logo-01.png" alt="Company Name Goes Here" width="200">


Method 2: Just add below code in Additional <head> markup [ will be at right sidebar ] in template.
<script>
$(document).ready(function(){
$('.logo span.hs_cos_wrapper').wrap('<li class="hs-menu-depth-1 hs-menu-item logoInside"></li>').parent().insertAfter('.custom-menu-primary .hs-menu-depth-1:eq(2)')
});
</script>

Kindly mark this as accepted solution if it helps.
Thanks !


Jvizcuna
Participante

Centered Logo in Navigation

resolver

I'm trying to apply this solution to my website but sadly isn't working, can you please provide more details about how to add a custom code to te navigation bar?

Thank you

IAM
Colaborador(a) | Parceiro
Colaborador(a) | Parceiro

Centered Logo in Navigation

resolver

Thank you! That worked. Do you know why there is a white box around the logo image and how I can remove it? http://didsolutions-4954262.hs-sites.com/

0 Avaliação positiva
jennysowyrda
Gerente da Comunidade
Gerente da Comunidade

Centered Logo in Navigation

resolver

Hey @IAM,

 

Can you share a link to your page so we can see what you are working with at the moment? 

 

@Designer_WOT@Kevin-C do you have any tips for @IAM?

 

Thanks,
Jenny

Designer_WOT
Solução
Colaborador(a)

Centered Logo in Navigation

resolver

Sure @jennysowyrda, Thankyou for directing me !

IAM
Colaborador(a) | Parceiro
Colaborador(a) | Parceiro

Centered Logo in Navigation

resolver

Sure! Here is the link: http://didsolutions-4954262.hs-sites.com/

 

Thanks!

Jenna

0 Avaliação positiva