Guest Posted December 28, 2020 Share Posted December 28, 2020 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. Link to comment
Beyondspace Posted December 29, 2020 Share Posted December 29, 2020 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. 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, video lightbox and much more) 🗓️ Delivery Date Picker (Squarespace Date picker form field) 💫 Gallery block 7.1 workaround 🥳 No-code customisations for Squarespace (+100 Spark plugin customisations) 🥳 Freemium Squarespace Widget Templates (+1000 Elfsight 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
Guest Posted December 29, 2020 Share Posted December 29, 2020 Appreciate your response. Not what I was hoping for unfortunately, but maybe I'll figure out a way to work with it. Thanks again. Link to comment
creedon Posted December 29, 2020 Share Posted December 29, 2020 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
Recommended Posts
Archived
This topic is now archived and is closed to further replies.