Jump to content

Overlaying Summary Heading and Summary Title over an image

Recommended Posts

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

Edited by gehernando
added url
Link to comment

Can you share link to your site?

--

I guess you can try CSS Flex with justify-content: center; align-items: center

or CSS position:absolute with transform: translate(-50%,-50%)

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

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment

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;
 }

 

Link to comment

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.