Jump to content

Am I required to use header?

Recommended Posts

So, I'm new to SquareSpace and am hoping that it's better than WordPress because, man, what a pain in the butt, right? Anyway, I'm a little disappointed by this header thing. In every template I've seen, there is this kind of institutionalized header thing, Logo, Title, Social Media. And you can't build a page without your site title in that header and you can't substitute an image. Like in the picture I'm attaching - I want this part GONE! I'm old school. I just want a header image I provide that goes all the way across the top. How do I get rid of that, or better yet, start with a completely black page I can build from scratch.

header.png

Link to comment
  • Replies 3
  • Views 968
  • Created
  • Last Reply
3 hours ago, rbilleaud said:

So, I'm new to SquareSpace and am hoping that it's better than WordPress because, man, what a pain in the butt, right? Anyway, I'm a little disappointed by this header thing. In every template I've seen, there is this kind of institutionalized header thing, Logo, Title, Social Media. And you can't build a page without your site title in that header and you can't substitute an image. Like in the picture I'm attaching - I want this part GONE! I'm old school. I just want a header image I provide that goes all the way across the top. How do I get rid of that, or better yet, start with a completely black page I can build from scratch.

header.png

You can only hide this using custom css, and add your header image in headlines section

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment

I think you can do something like you want with a little Javascript if you're on the business plan or above and can do a little coding.

This is general guidance and not complete examples as I've not seen your site and I don't know what you want in your header other than an image. I prefer to use jQuery.

Add the following to Settings > Advanced > Code Injection > HEADER. 

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>

Add the following to Settings > Advanced > Code Injection > FOOTER.

<script>

  $( ( ) => {
  
    // replace default header with custom header
    
    let $header = $( '<header>' )
    
      .attr ( 'id', 'header' );
      
    $( 'header' ).replaceWith ( $header );
    
    } );
    
  </script>

A variation on the code.

<script>

  $( ( ) => {
  
    // replace default header with custom header
    
    let header = '<header id="header">' +
    
      '<div>' +
      
        '<img height="" src="[enter url of image here]" width="">' +
        
        '</div>' +
        
      '</header>';
      
    $( 'header' ).replaceWith ( header );
    
    } );
    
  </script>

 

Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.

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.