Jump to content

Changing Logo per page?

Recommended Posts

  • Replies 11
  • Created
  • Last Reply

You can do this with custom CSS or custom JavaScript.

Avenue demo has no logo to check.

If you can share site to your site, it will be better.

 

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

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment
On 1/4/2020 at 1:05 AM, Brandijoan said:

@tuanphan Thank you for your response! my site is https://www.brandijoan.com

add to Page Settings > Advanced > Header

<script>
  $("#logo img").attr("src", "https://beaverhero.com/wp-content/uploads/2019/06/trees-3464777_640-min.jpg")
</script>

 

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

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment
6 hours ago, Brandijoan said:

I tried inserting the code on the homepage and this page https://www.brandijoan.com/#/the-lorenzo-dress/

maybe missing a character, try again with this code

<script>
  $("#logo img").attr("src", "https://beaverhero.com/wp-content/uploads/2019/06/trees-3464777_640-min.jpg");
</script>

image.thumb.png.948c58a40e67f6013eb35ee4730d69fe.png

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

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment

Still not working - could it be because I have the code bellow inserted into my code injection?

<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.0/jquery.min.js"></script>
<div class="logoload"></div>
<script>
$(function() {
  var loadLogo = $('header').find('img').attr('src');
  $('.logoload').css('background-image', 'url(' + loadLogo + ')');
});
</script>
<style>
.logoload {
  background-color: #eddad4;
  background-size: 150px;
  position: fixed;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
  z-index: 9999;
  background-position: center;
  background-repeat: no-repeat;
}
</style>
<script type="text/javascript">
$(window).load(function() {
    $(".logoload").delay(700).fadeOut("slow");
})
</script>

Link to comment

Add to Page Settings > Advanced > Header

<style>
#logo img {
    visibility: hidden;
}
#logo h1.logo a {
    background-image: url(https://beaverhero.com/wp-content/uploads/2019/06/trees-3464777_640-min.jpg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: block;
    height: 100%;
}
</style>

 

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

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.