Jump to content

[Share] How to add background image to Blog Page

Recommended Posts

To add a background image on the blog page, you can follow these

#1. First, find Blog Page ID

In my example, we have: #collection-6677756d03a4f15ba27ce9d8

image.png.fde2fd1c250e4b5cf03ccf5ba8afa8f6.png

#2. Use this code to Custom CSS box. Replace Pixabay with your desired image URL.

#collection-6677756d03a4f15ba27ce9d8 {
  & {
      background-image: url(https://cdn.pixabay.com/photo/2024/08/05/21/19/lion-8947711_1280.jpg);
      background-size: cover;
      background-repeat: no-repeat;
      background-position: center;
  }
  .section-background, .section-border {
      background-color: transparent !important;
  }
}

image.png.9b0d1900575da93843c66c18dc57ed26.png

#3. Notes

  • With background-repeat you can enter: no-repeat, repeat-x or repeat-y
  • With background-size you can enter cover, contain or fixed size (30px, 100px,..)
  • With background-position you can enter: center, top, left, right or center center, top left, center left, center right,…

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

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment
  • Replies 0
  • Views 343
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted Images

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.