Jump to content

Removing the space of a code block

Recommended Posts

Site URL: https://thebeatstash.store

Hey!

I added an image block as the banner image since the template doesn't really support one. Now i want my h1 and h2 to be on top of the image which i accomplished through: 

.header {
  color: white;
  line-height: 1em;
  text-transform: none;
  text-align: center;
  width: 100%;
  display: block;
  position: absolute;
  top: -390px;
  left: 0;

.header2 {
  color: white;
  line-height: 1em;
  text-transform: none;
  text-align: center;
  width: 100%;
  display: block;
  position: relative;
  top: -300px;
  left: 0;

.sqs-block.image-block { padding:0 !important;
margin: 0 !important;
width:120% !important;
  left:-10%;
  top:-45px;
}

but now i want to remove the space the actual code block is creating in the content of the site. You can see the gap between the image and the following text. I tried to just add a text to the image as a poster but then i can't seem to get that to be my h1/h2 and i want it to be h1/h2 because of SEO reasons.

Anyone have any ideas? 

Link to comment
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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.