Jump to content

2 logos in the site title area?

Recommended Posts

I'm using a 7.0 Brine template (Mentor). Is there any way to add an additional logo in the site title in the header area (2 separate logos)? I want to make the blue logo locked in position (flush left) and have the BG logo centered and able to move for resizing the screen. 

If I make one wide image, it does not stack on mobile and gets super small.

I'm trying to do this in the top header:image.thumb.jpeg.3a8bce4282be8e50a0554d99ed7a3169.jpeg

Link to comment
1 hour ago, pantano3 said:

I'm using a 7.0 Brine template (Mentor). Is there any way to add an additional logo in the site title in the header area (2 separate logos)? I want to make the blue logo locked in position (flush left) and have the BG logo centered and able to move for resizing the screen. 

If I make one wide image, it does not stack on mobile and gets super small.

I'm trying to do this in the top header:image.thumb.jpeg.3a8bce4282be8e50a0554d99ed7a3169.jpeg

This is a good start that will take some tweaking on your end for desired spacing etc. I added this to Settings > Advance > Header Code Injection.

The test site I used had the following header settings: 

- Site Title / Logo was should be set to The Baker Group logo (I didn't upload this in testing)
- Desktop header logo was set as centered
- Mobile header logo was set as left-aligned. 

The code below inserts a floating div containing an image on top of your header. Div is only there if you want to apply a link, and it helps with mobile settings. 

 

<div class="logo2-container">
<img class="logo2" src="https://images.squarespace-cdn.com/content/v1/5c5dea18a56827339bd6480f/4b1c3de5-c125-48b9-976b-df1042b2572f/CS_logo_RGB_300DPI.png?format=500w">
</div>

<style>
  .logo2 {
  height: 60px;
  padding-top: 25px;
  padding-left: 25px;
  }
 
  /*Mobile Styles*/
  
    @media only screen and (max-width: 600px) {
      .logo2 {
      display: inline;
      height: 30px;
      padding-top:80px;
      }
      .logo2-container {
      height: 120px;
      }
  }
</style>

 

Edited by ReformDesign
edit to code
Link to comment
5 minutes ago, ReformDesign said:

This is a good start that will take some tweaking on your end for desired spacing etc. I added this to Settings > Advance > Header Code Injection.

The test site I used had the following header settings: 

- Site Title / Logo was should be set to The Baker Group logo (I didn't upload this in testing)
- Desktop header logo was set as centered
- Mobile header logo was set as left-aligned. 

The code below inserts a floating div containing an image on top of your header. Div is only there if you want to apply a link, and it helps with mobile settings. 

 

<div class="logo2-container">
<img class="logo2" src="https://images.squarespace-cdn.com/content/v1/5c5dea18a56827339bd6480f/4b1c3de5-c125-48b9-976b-df1042b2572f/CS_logo_RGB_300DPI.png?format=500w">
</div>

<style>
  .logo2 {
  height: 80px;
  padding-top: 25px;
  padding-left: 25px;
  }
 
  /*Mobile Styles*/
  
    @media only screen and (max-width: 600px) {
      .logo2 {
      display: inline;
      height: 30px;
      padding-top:80px;
      }
      .logo2-container {
      height: 120px;
      }
  }
</style>

 

Settings in Edit > Edit Header > Layout will help you fine tune this as well as adjusting the padding numbers in the code. This code doesn't update in real-time as you edit like in Custom CSS, so save to see changes. 

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.