Jump to content

Overlaying Summary Heading and Summary Title over an image

Recommended Posts

Posted

Site URL: https://turncoat.squarespace.com/home

Hello! I have summary block sourcing from a gallery and set to display as a carouseI for just one item.

How can I center the Summary Heading "Color of the Week" and the Summary Title "Absinthe" in the center of the image? (see attached example).

.sqs-block-summary-v2 {

    .summary-title{

    }
    .summary-heading{

    }

}

 

Screen Shot 2020-03-24 at 9.30.26 PM.png

Screen Shot 2020-03-24 at 9.35.37 PM.png

Screen Shot 2020-03-24 at 9.33.37 PM.png

  • Replies 3
  • Views 1.2k
  • Created
  • Last Reply
Posted

This seems to be working:

.summary-heading {
  z-index:99;
  position: absolute;
  text-align:center;
  top: 45%;
  left: 50%;
  width:100%;
  transform: translate(-50%, -50%);
   color:#fff;
 }

.summary-title{
  position: absolute;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family:"Adobe Caslon";
    color:#fff;
 }

 

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.