Jump to content

Hayden Template: Is there custom css code to add a banner image to a gallery page?

Recommended Posts

  • Replies 9
  • Views 1.3k
  • Created
  • Last Reply

@saramayel Add to Home > Design > Custom CSS


 
/* Insert Image */
body#collection-5d795777891cc1028fed5189 main#page:before {
   content: "";
   background-image: url(https://beaverhero.com/wp-content/uploads/sites/4/2019/09/slidesp1.jpg);
   background-size: cover;
   height: 400px;
   display: block;
   margin-bottom: 40px;
}
/* Full width gallery page 2 */
body#collection-5d795777891cc1028fed5189 main#page {
   padding-top: 0;
   padding: 0;
   max-width: 100%;
}
/* Limit width gallery images */ 
body#collection-5d795777891cc1028fed5189 div#content {
   max-width: 1020px;
}


 

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

@saramayel 1. Code I sent, only for GALLERY PAGE 2 2. I checked your code, and I see you inserted 9 links, not all

here code you inserted, ID in code is gallery page, not gallery page 2


body#collection-5d52b5ab5ea646000119693b main#page:before {
   content: "";
   background-image: url(https://2019.themevi.com/spmot/wp-content/uploads/sites/4/2019/09/slidesp1.jpg);
   background-size: cover;
   height: 400px;
   display: block;
   margin-bottom: 40px
}









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

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.