Jump to content

Secondary Logo placement + navigation bar orientation

Recommended Posts

Site URL: https://www.camphinboston.com.au/

Hi,

We are looking to add a secondary logo for another brand to the right-hand side of the header (as it must go across all pages)... 

So far I have been able to move the current logo from its current left-hand position to the right-hand, however uploading another logo has been a struggle and moving the existing logo causes it to overlap with the navigation bar.

Any assistance on this matter would be incredibly valuable 🙂

Thanks

Link to comment
  • Replies 5
  • Views 317
  • Created
  • Last Reply

Top Posters In This Topic

On 10/18/2022 at 5:43 AM, afloormat said:

Hi Tuanphan,

The secondary logo being clickable would be ideal and we are on the business plan.

Thanks 🙂

Add to Last Line in Code Injection > Footer

<script>
  $(document).ready(function() { 
		$('<a href="/search"><img src="https://cdn.pixabay.com/photo/2022/10/16/13/53/early-morning-7525151__480.jpg" width="70px"/></a>').appendTo('.header-title-logo a');
	});
</script>
<style>
  .header-title-logo a:nth-child(2) {
    margin-left: 20px;
}
</style>

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment
On 10/23/2022 at 2:21 AM, tuanphan said:

Add to Last Line in Code Injection > Footer

<script>
  $(document).ready(function() { 
		$('<a href="/search"><img src="https://cdn.pixabay.com/photo/2022/10/16/13/53/early-morning-7525151__480.jpg" width="70px"/></a>').appendTo('.header-title-logo a');
	});
</script>
<style>
  .header-title-logo a:nth-child(2) {
    margin-left: 20px;
}
</style>

 

Hi Tuanphan,

Thank you for this it is much appreciated. Is there any way I can move the secondary image location from adjacent the original logo to the top right of the page (below the invoice button)? I tried changing the appendTo function to .header-actions.header-actions--right however this placed a small image along the navigation bar and I could not edit it further.

Thanks again 🙂

Link to comment
On 10/24/2022 at 6:48 AM, afloormat said:

Hi Tuanphan,

Thank you for this it is much appreciated. Is there any way I can move the secondary image location from adjacent the original logo to the top right of the page (below the invoice button)? I tried changing the appendTo function to .header-actions.header-actions--right however this placed a small image along the navigation bar and I could not edit it further.

Thanks again 🙂

Use this new code

<script>
   $(document).ready(function() { 
		$('<a href="/search"><img src="https://cdn.pixabay.com/photo/2022/10/16/13/53/early-morning-7525151__480.jpg" width="70px"/></a>').appendTo('div#wm-subnav>nav');
	});
</script>
<style>
  #wm-subnav .header-nav-wrapper {
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
}
</style>

image.png.9a1a6c493484a2ce1d4ebbd94a0f787e.png

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.