How to use a custom background image for your Squarespace header // Header Background Image Tutorial

Поділитися
Вставка
  • Опубліковано 19 вер 2024

КОМЕНТАРІ • 56

  • @InsideTheSquare
    @InsideTheSquare  Рік тому +2

    ⚠ IMPORTANT CSS UPDATE ⚠ When logging into Squarespace, if you see the word "Website" at the top of your menu, you are using their new internal navigation!
    To edit the CSS of your Squarespace website, click on the word "Website" and scroll to the bottom of the list of pages. Here you'll see "Website Tools" - click on that option and select "Custom CSS" to open the CSS panel and add your code here. For more information, watch this tutorial: ua-cam.com/video/euJqHXs_L1M/v-deo.html

  • @Moe-Talks
    @Moe-Talks 7 місяців тому

    Thank you. I've seen a couple of your videos and they have been helpful.

    • @InsideTheSquare
      @InsideTheSquare  6 місяців тому

      You're welcome! I'm so glad that my work is helping you with yours :)

  • @jesseman8839
    @jesseman8839 2 роки тому +2

    Thanks for the tutorial! FYI, the commas surrounding the "image-url" in the example code in the description are different from each other.

    • @InsideTheSquare
      @InsideTheSquare  2 роки тому

      Try it out! If you get stuck, feel free to submit a code help request here: insidethesquare.co/code-help

  • @NIALondon-t5x
    @NIALondon-t5x 6 місяців тому +1

    how do I keep the menu - logo - cart at the top of the header? when I extend the size of the header the menu-logo-cart seem to also move to the centre of the header which ends up looking silly.

    • @InsideTheSquare
      @InsideTheSquare  6 місяців тому

      I would recomend changing the background size: contain vs cover part of the code instead of adjusting the size of the header. Otherwise you can also use the site logo/title size slider in the design menu inside squarespace instead of code.

  • @TaigaFlyProductions
    @TaigaFlyProductions 7 місяців тому +1

    hey! this isnt working for me? the photo wont pop up in my header. im trying to add a larger photo so it drops down a bit for my shop, is there anything you can suggest for this?

    • @InsideTheSquare
      @InsideTheSquare  7 місяців тому

      Intersting question. The header of your website is on top of your page content, layered like a brick, so it can't really overlap a section. What you can do is upload an image as the background of your page section that features your header image at the top of it, then set your header to transparent and then use CSS to pull the section background up. It is possible but its also complicated. I would recommend posting in the Squarespace forum for some support with this specific idea.

  • @richloney4560
    @richloney4560 2 роки тому +1

    Thanks for this and all your great guidance. Question. Is there a way to add an animation to the background of the header by using an animated GIF or video?

    • @InsideTheSquare
      @InsideTheSquare  2 роки тому +1

      Great question! I'll have to brainstorm on this one; probably possible with some clever CSS. If I am able to create a code for it, I'm sure it will make a great tutorial so stay tuned!

  • @amandamaple6974
    @amandamaple6974 Рік тому +1

    When you edit the squarespace background, does it update on all pages of your site? Or just that one page? I am trying to have a page that has a background image that is different from the current header

    • @InsideTheSquare
      @InsideTheSquare  Рік тому

      Sure! You can add any code to one specific page. I have a tutorial that will walk you through it: insidethesquare.co/singlepage

  • @lesvillasin1276
    @lesvillasin1276 2 роки тому +1

    This is very helpful! How can I add that kind of block to any part of my website, like the same size block to a part in our website?

    • @InsideTheSquare
      @InsideTheSquare  2 роки тому

      Adding code to your site-wide CSS file under design > custom CSS will put your code on every page. But there are two ways to add code to a single page - check out this tutorial for more help: insidethesquare.co/singlepage
      You can use a unique block ID to target a specific thing on your site; check out this tutorial for more info: ua-cam.com/video/h8qfZdaATbU/v-deo.html

  • @newz-tube
    @newz-tube 9 місяців тому

    Thank you very much!

  • @centerstage.design
    @centerstage.design Рік тому +1

    Doesn't seem to be working for me on Fluid Engine...

    • @InsideTheSquare
      @InsideTheSquare  Рік тому

      Fluid engine is a type of page section and doesn’t affect global elements like the header. Make sure your header design set to solid or dynamic, and if the code still doesn’t work submit a code help request at insidethesquare.co/code-help

    • @centerstage.design
      @centerstage.design Рік тому

      @@InsideTheSquare Gah! That totally fixed it. IOU!!!

  • @MarkRuffing-x7o
    @MarkRuffing-x7o 21 день тому

    This is not working on my site for some reason and it's maddening! This is definitely on my end, but ALL of your other tutorials work fabulously, but this should be so EASY and pulling out what is left of my hair on my head, lol. Please help!

    • @InsideTheSquare
      @InsideTheSquare  15 днів тому

      Try hopping into edit mode, and in the header design menu, under your color options, set it to opacity:0

  • @LizBissonette
    @LizBissonette Рік тому

    Is there a way to do this on only one page of your blog and not the whole thing?

    • @InsideTheSquare
      @InsideTheSquare  Рік тому

      Great Question! Adding code to your site-wide CSS file under design > custom CSS will put your code on every page. But there are two ways to add code to a single page - check out this tutorial for more help: insidethesquare.co/singlepage
      You can also use a unique block ID to target a specific thing on your site; check out this tutorial for more info: ua-cam.com/video/h8qfZdaATbU/v-deo.html Hope that helps! 💙

  • @harry_davies
    @harry_davies Рік тому

    This is great thank you!
    My 2 questions, what’s the alternative place name for the other sections after the header? Body?
    And what if I want to use different background image on a specific page only in addition to this?

    • @InsideTheSquare
      @InsideTheSquare  Рік тому

      1. I use this free Chrome extension to grab that info; not affiliated - just a fan! chrome.google.com/webstore/detail/squarespace-id-finder/igjamfnifnkmecjidfbdipieoaeghcff
      2. Great Question! Adding code to your site-wide CSS file under design > custom CSS will put your code on every page. But there are two ways to add code to a single page - check out this tutorial for more help: insidethesquare.co/singlepage
      You can also use a unique block ID to target a specific thing on your site; check out this tutorial for more info: ua-cam.com/video/h8qfZdaATbU/v-deo.html Hope that helps! 💙

  • @coltranelewis
    @coltranelewis 2 роки тому

    Hello it's working for me but i'm getting a black bar as well and the entire image isnt fitting even after compression. any suggestions?

    • @InsideTheSquare
      @InsideTheSquare  2 роки тому +1

      That doesn’t sound right! I would love to help - send me more info at insidethesquare.co/code-help and I’ll hop into your source code and take a look.

  • @savethedoodle
    @savethedoodle Рік тому

    TY!!

  • @byronstuff
    @byronstuff 2 роки тому

    You mentioned sharing a link to your fav free image compressor. Can you share that one? Thanks!

    • @InsideTheSquare
      @InsideTheSquare  2 роки тому

      Totally! Sorry I forgot that part 😅 I love tinypng.com Not affiliated with them, just a fan 😎

  • @PjSmith
    @PjSmith 2 роки тому

    I created a landing page (removed the header and footer) and I want an image that I created in Canva to be at the top of the page. The image has text in it but I notice that the text does not compress from computer down to mobile and therefore I cannot see the text that is in the image on mobile device.
    What is a work around for this problem??

    • @InsideTheSquare
      @InsideTheSquare  2 роки тому

      Hey PJ, unfortunately, CSS won't fix that because the text is static on that image. You'll need to upload the image without the text, and then you'll need to place text with some CSS 😉.

  • @ChoonYang94
    @ChoonYang94 2 роки тому

    Hello, would like to change the entire background to a image, not just the header. is there a way to do that?

    • @InsideTheSquare
      @InsideTheSquare  2 роки тому

      Great question and yes - totally possible! Check out this tutorial for more info: insidethesquare.co/squarespace-tutorials/background-image

  • @yohanmistry2687
    @yohanmistry2687 2 роки тому

    Hey, how do i change the header background for individual pages in a Blog?

    • @InsideTheSquare
      @InsideTheSquare  2 роки тому

      There are two ways to add code to a single page - check out this tutorial for more help: insidethesquare.co/singlepage

  • @elma_gnt
    @elma_gnt 2 роки тому

    Hi, great tutorial, however it's not working for me for some reason 🤔I followed the instructions and copied the code you provided.
    However, I got this message at the bottom of my code saying: expected ')' got ''' , in red at the bottom left of the area where you paste codes.
    If it helps, I had a code already in the custom css area; it's a code to change the logo size in the header. But I copied your code in a new line.

    • @InsideTheSquare
      @InsideTheSquare  2 роки тому

      That syntax error is asking you to
      close your parentheses; after your image url, do you see a spot to add a ) before any other symbols?

    • @katyrosemarketing
      @katyrosemarketing Рік тому

      you need to also remove the ' marks. There are two. This will remove the error

  • @MichaelBoudewyns
    @MichaelBoudewyns 2 роки тому

    Thanks for the useful video! Question: I used the code for the desktop version (SQSP 7.1, Fluid Engine), uploaded the image (made sure it was at least 3500px as you recommended) but the header background image is blurry; almost as if there is a filter over the image. Would you have any suggestions? Many thanks for your thoughts.

    • @MichaelBoudewyns
      @MichaelBoudewyns 2 роки тому

      Hi again, I figured out my question. I forgot this option: Edit Site Header > Global Style > Blur Background. I had the Blur Background enabled, and no matter what I did, or how many times I followed, and re-followed, your clear instructions - I continued to get a blurry background. Now, it's good. Thanks, again, for the clear and useful videos.

    • @InsideTheSquare
      @InsideTheSquare  2 роки тому

      Hi Michael! Glad you were able to find a fix! Working in the new platform is going to have a learning curve... one that I am excited to start talking about... tomorrow! Keep your eyes peeled for some big news coming your way. :)

  • @englishconversationschool
    @englishconversationschool 2 роки тому

    Awesome.. Please show how to create donation website

    • @InsideTheSquare
      @InsideTheSquare  2 роки тому

      Glad you liked this video! Squarespace support has some great resources on using their donation feature - here is a link to their overview: support.squarespace.com/hc/en-us/articles/206543967

  • @santiagotrujillo5210
    @santiagotrujillo5210 Рік тому

    I just followed these steps and I don't have any change. I hit save after entering the code and updating the url for my photos. Any tips?

    • @santiagotrujillo5210
      @santiagotrujillo5210 Рік тому +1

      I have this showing up at he bottom of the window.
      Expected ')' Got '''
      Unsaved

    • @InsideTheSquare
      @InsideTheSquare  Рік тому

      Hey There! This is a pretty standard code, so I'd need to look at your code to see why it wouldn't respond. Feel free to submit a code help request here: insidethesquare.co/code-help

  • @KongraDNB
    @KongraDNB 11 місяців тому

    This didn't work for me, I have followed the instructions meticulously, I am frustrated!

    • @InsideTheSquare
      @InsideTheSquare  11 місяців тому

      I would be too! I just tested the code on my own site and it still works perfectly. Make sure you are using 7.1, and check out my troubleshooting tips for some ideas on what might be causing your problem: insidthesquare.co/codehelp

  • @Masons4Liberty
    @Masons4Liberty Рік тому

    Nothing happened when I pasted this code in

    • @InsideTheSquare
      @InsideTheSquare  Рік тому

      Hey Chris! Squarespace made an update in July 2022 - check out the pinned comment for the details 👍👍

  • @InsideTheSquare
    @InsideTheSquare  2 роки тому

    In July 2022, Squarespace made a big change to the way sites are edited, and this tutorial is a little outdated! For the latest info, check out insidethesquare.co/fluid