Jump to content

ericams33

Member
  • Posts

    3
  • Joined

  • Last visited

Posts posted by ericams33

  1. Hello!

    I have a website where I am trying to float a block over the main banner at the top. I have used the code below. I attached a screenshot of what it looks like. It's getting close but unfortunately there's a lot of empty space beneath the floating block and the next section. In another instance I have larger text and in mobile it goes completely over the banner image at the top. Is there any way to fix this? Thank you! I'm currently helping a client on a trial version so unfortunately I don't have an active link. 

    //Home Float Block//
    section[data-section-id="6181e6a07af15d314bbf9efc"] {
       background-color: transparent;
       width: 80%;
       position: absolute;
       z-index: 30;
       left: 50%;
       -webkit-transform: translate(-50%,-50%);
       -ms-transform: translate(-50%,-50%);
       transform: translate(-50%,-50%);
    }
    section[data-section-id="6181e6a07af15d314bbf9efc"] .sqs-block-code {
       padding: 0px;
    }

    Screen Shot 2021-11-05 at 4.59.13 PM.png

    Screen Shot 2021-11-05 at 4.59.25 PM.png

    Screen Shot 2021-11-05 at 4.59.32 PM.png

×
×
  • 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.